diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2010-01-21 20:26:09 +0100 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2010-01-21 20:26:09 +0100 |
commit | b5159d1a3b996f1ee2eade23576bf413441845be (patch) | |
tree | 9a15ae4d3442d7edcd639c3242c0685cb2223e12 /dumb/dumb-kode54/src/it | |
parent | d2177eebb17eec2af91c26480d36435102c41db1 (diff) |
fixed few compiler warnings
Diffstat (limited to 'dumb/dumb-kode54/src/it')
-rw-r--r-- | dumb/dumb-kode54/src/it/readpsm.c | 4 |
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;
|