X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2F_PDCLIB%2Fscan.c;h=0ecf31ada2393ff94d5d058cef7f75dfa07f563b;hb=0cf5cdb61dae0e9ce894115ef69b79d8b2507d54;hp=7e6c42c4c53c12e2d1e22e1a98b38b73508e05c1;hpb=86e885d620860db125684fb0ab4d084891227a62;p=pdclib diff --git a/functions/_PDCLIB/scan.c b/functions/_PDCLIB/scan.c index 7e6c42c..0ecf31a 100644 --- a/functions/_PDCLIB/scan.c +++ b/functions/_PDCLIB/scan.c @@ -162,7 +162,7 @@ const char * _PDCLIB_scan( const char * spec, struct _PDCLIB_status_t * status ) status->width = (int)strtol( spec, (char**)&spec, 10 ); if ( spec == prev_spec ) { - status->width = INT_MAX; + status->width = UINT_MAX; } /* Optional length modifier