X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=platform%2Fexample%2Ffunctions%2F_PDCLIB%2Fopen.c;h=b0b26cb582c0dd0360e069a216f5d2a12f4e0e09;hp=e1fcc9d6cd01826f82e8c4bb24ccc0fcc073b304;hb=ac888cf8ada81fe577ba3da053be3379b85b6499;hpb=519443d45a417a108fc47caaf790efc963d8d3f6 diff --git a/platform/example/functions/_PDCLIB/open.c b/platform/example/functions/_PDCLIB/open.c index e1fcc9d..b0b26cb 100644 --- a/platform/example/functions/_PDCLIB/open.c +++ b/platform/example/functions/_PDCLIB/open.c @@ -20,7 +20,7 @@ #include #include -_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;