Changeset 119
- Timestamp:
- Jun 4, 2007, 7:32:06 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk/alsa-kernel/core/info.c
r118 r119 190 190 snd_assert(data != NULL, return -ENXIO); 191 191 pos = *offset; 192 #ifndef TARGET_OS2193 /* MKG: pos is loff_t (see include/linux/types.h) which is194 typedef unsigned long - check later */195 192 if (pos < 0 || (long) pos != pos || (ssize_t) count < 0) 196 193 return -EIO; 197 #endif /* TARGET_OS2 */198 194 if ((unsigned long) pos + (unsigned long) count < (unsigned long) pos) 199 195 return -EIO; … … 236 232 entry = data->entry; 237 233 pos = *offset; 238 #ifndef TARGET_OS2239 /* MKG: pos is loff_t (see include/linux/types.h) which is240 typedef unsigned long - check later */241 234 if (pos < 0 || (long) pos != pos || (ssize_t) count < 0) 242 235 return -EIO; 243 #endif /* TARGET_OS2 */244 236 if ((unsigned long) pos + (unsigned long) count < (unsigned long) pos) 245 237 return -EIO;
Note:
See TracChangeset
for help on using the changeset viewer.