]> pd.if.org Git - pdclib/blobdiff - functions/_PDCLIB/scan.c
Removed Cygwin platform.
[pdclib] / functions / _PDCLIB / scan.c
index 6910aef66f3b60586f16a164d395128a8615960e..811039317edc3467948f09bb05f7d7e70e095711 100644 (file)
@@ -1,5 +1,3 @@
-/* $Id$ */
-
 /* _PDCLIB_scan( const char *, struct _PDCLIB_status_t * )
 
    This file is part of the Public Domain C Library (PDCLib).
@@ -384,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':
         {