]> pd.if.org Git - pdclib/blobdiff - functions/_PDCLIB/scan.c
Removed Cygwin platform.
[pdclib] / functions / _PDCLIB / scan.c
index dc94e7fc25856aa2576f3cab66d17a7889bb7e13..811039317edc3467948f09bb05f7d7e70e095711 100644 (file)
@@ -382,7 +382,8 @@ const char * _PDCLIB_scan( const char * spec, struct _PDCLIB_status_t * status )
         }
         case 'p':
             status->base = 16;
-            status->flags |= E_unsigned;
+            /* TODO: Assuming 'long' for pointers, this should be handled differently. */
+            status->flags |= E_unsigned | E_long;
             break;
         case 'n':
         {