X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=platform%2Fexample%2Ffunctions%2F_PDCLIB%2Fopen.c;h=b0b26cb582c0dd0360e069a216f5d2a12f4e0e09;hb=014988e9a303f1617be511468d70a235a2826362;hp=e1fcc9d6cd01826f82e8c4bb24ccc0fcc073b304;hpb=b08f4b52b1cd1f7a9553c0f357a7c90859fa3e73;p=pdclib 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;