]> pd.if.org Git - pdclib/blobdiff - functions/stdio/_PDCLIB_print.c
Type mismatches give compiler warnings. Fixed.
[pdclib] / functions / stdio / _PDCLIB_print.c
index e832782fd32c45c37fc2a2e1342cff3729608540..f264a6178cdb1520e575667839f320c83acc5267 100644 (file)
@@ -614,7 +614,7 @@ static int testprintf( char * buffer, const char * format, ... )
     status.write = testcb;
     va_start( status.arg, format );
     memset( buffer, '\0', 100 );
-    if ( _PDCLIB_print( format, &status ) != strlen( format ) )
+    if ( _PDCLIB_print( format, &status ) != (int)strlen( format ) )
     {
         printf( "_PDCLIB_print() did not return end-of-specifier on '%s'.\n", format );
         ++TEST_RESULTS;