projects
/
open-adventure.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca0e042
)
Clean up function argument.
author
Jason S. Ninneman
<jsn@mbar.us>
Mon, 12 Jun 2017 16:36:14 +0000
(09:36 -0700)
committer
Eric S. Raymond
<esr@thyrsus.com>
Mon, 12 Jun 2017 21:36:06 +0000
(21:36 +0000)
misc.c
patch
|
blob
|
history
diff --git
a/misc.c
b/misc.c
index 6dd24e0c89f6ced0e9b67c7a162b3caf6e9b82e6..3960347f36bc77bcc10d30a86f8d307569f1611d 100644
(file)
--- a/
misc.c
+++ b/
misc.c
@@
-138,7
+138,7
@@
void newspeak(char* msg)
// Render the final string.
char rendered[2000]; // FIXME: to be replaced with dynamic allocation
- sprintf(
(char *)&
rendered, copy, parameters[1], parameters[2], parameters[3], parameters[4]); // FIXME: to be replaced with vsprintf()
+ sprintf(rendered, copy, parameters[1], parameters[2], parameters[3], parameters[4]); // FIXME: to be replaced with vsprintf()
// Print the message.
printf("%s\n", rendered);