]> pd.if.org Git - pdclib/blobdiff - platform/example/functions/_PDCLIB/open.c
Wrong type for open() parameter; fixed. Added _PDCLIB_NOHANDLE to _PDCLIB_config.h.
[pdclib] / platform / example / functions / _PDCLIB / open.c
index e1fcc9d6cd01826f82e8c4bb24ccc0fcc073b304..b0b26cb582c0dd0360e069a216f5d2a12f4e0e09 100644 (file)
@@ -20,7 +20,7 @@
 #include <fcntl.h>
 #include <unistd.h>
 
-_PDCLIB_fd_t _PDCLIB_open( char const * const filename, int mode )
+_PDCLIB_fd_t _PDCLIB_open( char const * const filename, unsigned int mode )
 {
     int osmode = 0;
     if ( mode & _PDCLIB_FRW ) osmode |= O_RDWR;