diff options
author | Stephen Fisher <steve@stephen-fisher.com> | 2007-04-13 23:32:21 +0000 |
---|---|---|
committer | Stephen Fisher <steve@stephen-fisher.com> | 2007-04-13 23:32:21 +0000 |
commit | fa57c8fc446d10fb0b3c5252bc01e940a91bb21a (patch) | |
tree | e9da56f00dc44d86a3bbc90e9812755fa6b91fbd /epan/uat.c | |
parent | d9e06450f401f55f27423146a2a0868719139128 (diff) |
Fix some Solaris buildbot warnings
svn path=/trunk/; revision=21423
Diffstat (limited to 'epan/uat.c')
-rw-r--r-- | epan/uat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/uat.c b/epan/uat.c index 195d7659f8..85f8d4cb3f 100644 --- a/epan/uat.c +++ b/epan/uat.c @@ -186,7 +186,7 @@ static void putfld(FILE* fp, void* rec, uat_field_t* f) { for(i=0;i<fld_len;i++) { char c = fld_ptr[i]; - if (c == '"' || c == '\\' || ! isprint(c) ) { + if (c == '"' || c == '\\' || ! isprint((int)c) ) { fprintf(fp,"\\x%.2x",c); } else { putc(c,fp); @@ -513,7 +513,7 @@ char* uat_unesc(const char* si, guint in_len, guint* len_p) { char c1 = *(s+1); char c0 = *(s+2); - if (isxdigit(c1) && isxdigit(c0)) { + if (isxdigit((int)c1) && isxdigit((int)c0)) { *(p++) = (xton(c1) * 0x10) + xton(c0); s += 2; } else { |