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