]> pd.if.org Git - pdclib/blobdiff - functions/stdio/_PDCLIB_scan.c
Type mismatches give compiler warnings. Fixed.
[pdclib] / functions / stdio / _PDCLIB_scan.c
index 9940fc028e07b1b9166fc50972fd4d0032dfdf5d..c3429ecde125da9ba9284b8ec5ed917d7d4b4013 100644 (file)
@@ -257,7 +257,7 @@ const char * _PDCLIB_scan( const char * spec, struct _PDCLIB_status_t * status )
         {
             char * c = va_arg( status->arg, char * );
             /* for %c, default width is one */
-            if ( status->width == SIZE_MAX )
+            if ( status->width == UINT_MAX )
             {
                 status->width = 1;
             }