public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a0140c
)
%c did not work on systems that have their bytes or their words reversed.
author
ceriel
<none@none>
Thu, 8 Jan 1987 17:40:25 +0000
(17:40 +0000)
committer
ceriel
<none@none>
Thu, 8 Jan 1987 17:40:25 +0000
(17:40 +0000)
modules/src/print/format.c
patch
|
blob
|
history
diff --git
a/modules/src/print/format.c
b/modules/src/print/format.c
index
31f1f6d
..
d040e8d
100644
(file)
--- a/
modules/src/print/format.c
+++ b/
modules/src/print/format.c
@@
-55,7
+55,7
@@
_format(buf, fmt, argp)
}
else
if (*pf == 'c') {
- cbuf[0] = * (
char
*) pa;
+ cbuf[0] = * (
int
*) pa;
cbuf[1] = '\0';
pa += sizeof(int);
arg = &cbuf[0];