summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dumb/dumb-kode54/src/it/readpsm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dumb/dumb-kode54/src/it/readpsm.c b/dumb/dumb-kode54/src/it/readpsm.c
index bf30f2d0..129cdf6f 100644
--- a/dumb/dumb-kode54/src/it/readpsm.c
+++ b/dumb/dumb-kode54/src/it/readpsm.c
@@ -1216,7 +1216,7 @@ int pattcmp( const unsigned char * a, const unsigned char * b, size_t l )
if ( i < l )
{
na = strtoul( a + i, &p, 10 );
- if ( p == a + i ) return 1;
+ if ( (const unsigned char *)p == a + i ) return 1;
}
for ( j = 0; j < l; ++j )
@@ -1227,7 +1227,7 @@ int pattcmp( const unsigned char * a, const unsigned char * b, size_t l )
if ( j < l )
{
nb = strtoul( b + j, &p, 10 );
- if ( p == b + j ) return -1;
+ if ( (const unsigned char *)p == b + j ) return -1;
}
if ( i < j ) return -1;