]> pd.if.org Git - pdclib/blobdiff - internals/_PDCLIB_glue.h
Wrong type for open() parameter; fixed. Added _PDCLIB_NOHANDLE to _PDCLIB_config.h.
[pdclib] / internals / _PDCLIB_glue.h
index 94da07fd953a4aed1c0891baafab93777e740748..0ffbebc7eb6b97a1fa0d89e488ff5f6dde826931 100644 (file)
@@ -33,7 +33,7 @@ void * _PDCLIB_allocpages( int n );
 /* A system call that opens a file identified by name in a given mode, and
    returns a file descriptor uniquely identifying that file.
 */
-_PDCLIB_fd_t _PDCLIB_open( char const * const filename, int mode );
+_PDCLIB_fd_t _PDCLIB_open( char const * const filename, unsigned int mode );
 
 /* A system call that writes n characters to a file identified by given file
    descriptor. Return the number of characters written.