projects
/
openwrt
/
svn-archive
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf8eb18
)
calvaria: Fix dump
author
Michael Büsch
<mb@bu3sch.de>
Wed, 2 Feb 2011 11:53:40 +0000
(11:53 +0000)
committer
Michael Büsch
<mb@bu3sch.de>
Wed, 2 Feb 2011 11:53:40 +0000
(11:53 +0000)
SVN-Revision: 25307
utils/calvaria/files/src/calvaria.c
patch
|
blob
|
history
diff --git
a/utils/calvaria/files/src/calvaria.c
b/utils/calvaria/files/src/calvaria.c
index dced7b41f5cd09905b31c224e31d535890ff8db0..0b104059ad73cc3ca3ff5472c7835a0c8d0a1a32 100644
(file)
--- a/
utils/calvaria/files/src/calvaria.c
+++ b/
utils/calvaria/files/src/calvaria.c
@@
-59,7
+59,7
@@
static void dump(FILE *outstream, const char *buf, size_t size)
}
fprintf(outstream, "[%04X]: ", (unsigned int)i);
}
- fprintf(outstream, " %02X", buf[i]);
+ fprintf(outstream, " %02X", buf[i]
& 0xFF
);
ascii[ascii_cnt] = toAscii(buf[i]);
ascii[ascii_cnt + 1] = 0;
ascii_cnt++;