change strchr() return parameter to const for new libc

This commit is contained in:
dockes
2009-05-29 06:28:55 +00:00
parent a267480e4a
commit 67a494ee54
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -105,7 +105,7 @@ namespace Binc {
unsigned char c = *i;
unsigned char d = *(i + 1);
char *t;
const char *t;
if ((t = strchr(hexchars, c)) == 0)
return "out of range";
n = (t - hexchars) << 4;