OSX 10.5 API fixups for mingw

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28092 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2009-03-18 10:02:49 +00:00
parent b0c507570a
commit 5130133dbf
5 changed files with 8 additions and 8 deletions

View file

@ -3086,7 +3086,7 @@ static NSSet *fileKeys = nil;
return [NSDate dateWithTimeIntervalSince1970: statbuf.st_mtime]; return [NSDate dateWithTimeIntervalSince1970: statbuf.st_mtime];
} }
- (unsigned long) filePosixPermissions - (NSUInteger) filePosixPermissions
{ {
return (statbuf.st_mode & ~S_IFMT); return (statbuf.st_mode & ~S_IFMT);
} }
@ -3223,12 +3223,12 @@ static NSSet *fileKeys = nil;
return statbuf.st_size; return statbuf.st_size;
} }
- (unsigned long) fileSystemFileNumber - (NSUInteger) fileSystemFileNumber
{ {
return statbuf.st_ino; return statbuf.st_ino;
} }
- (unsigned long) fileSystemNumber - (NSUInteger) fileSystemNumber
{ {
return statbuf.st_dev; return statbuf.st_dev;
} }

View file

@ -1034,7 +1034,7 @@ ParseConfigurationFile(NSString *fileName, NSMutableDictionary *dict,
fprintf(stderr, "The file '%S' is writable by someone other than" fprintf(stderr, "The file '%S' is writable by someone other than"
" its owner (permissions 0%lo).\nIgnoring it.\n", " its owner (permissions 0%lo).\nIgnoring it.\n",
[fileName fileSystemRepresentation], [fileName fileSystemRepresentation],
[attributes filePosixPermissions]); (long)[attributes filePosixPermissions]);
#else #else
fprintf(stderr, "The file '%s' is writable by someone other than" fprintf(stderr, "The file '%s' is writable by someone other than"
" its owner (permissions 0%lo).\nIgnoring it.\n", " its owner (permissions 0%lo).\nIgnoring it.\n",

View file

@ -1914,7 +1914,7 @@ static IMP _xRefImp; /* Serialize a crossref. */
return _version; return _version;
} }
- (unsigned) versionForClassName: (NSString*)className - (NSInteger) versionForClassName: (NSString*)className
{ {
GSClassInfo *info = nil; GSClassInfo *info = nil;
unsigned version = NSNotFound; unsigned version = NSNotFound;

View file

@ -93,7 +93,7 @@ static NSString* NotificationKey = @"NSFileHandleNotificationKey";
* Encapsulates low level read operation to get data from the operating * Encapsulates low level read operation to get data from the operating
* system. * system.
*/ */
- (int) read: (void*)buf length: (int)len - (NSInteger) read: (void*)buf length: (NSUInteger)len
{ {
#if USE_ZLIB #if USE_ZLIB
if (gzDescriptor != 0) if (gzDescriptor != 0)
@ -133,7 +133,7 @@ static NSString* NotificationKey = @"NSFileHandleNotificationKey";
* Encapsulates low level write operation to send data to the operating * Encapsulates low level write operation to send data to the operating
* system. * system.
*/ */
- (int) write: (const void*)buf length: (int)len - (NSInteger) write: (const void*)buf length: (NSUInteger)len
{ {
#if USE_ZLIB #if USE_ZLIB
if (gzDescriptor != 0) if (gzDescriptor != 0)