summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ChangeLog6
-rw-r--r--src/memalloc.h2
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e85b2b1..ece6518 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,8 @@
-2005-11-4  Herbert Xu <herbert@gondor.apana.org.au>
+2005-11-13  Herbert Xu <herbert@gondor.apana.org.au>
+
+	* Remove unnecessary truncation in _STPUTC.
+
+2005-11-04  Herbert Xu <herbert@gondor.apana.org.au>
 
 	* Use mktemp if tempfile is not available.
 
diff --git a/src/memalloc.h b/src/memalloc.h
index 1691d13..8a41e64 100644
--- a/src/memalloc.h
+++ b/src/memalloc.h
@@ -64,7 +64,7 @@ char *stnputs(const char *, size_t, char *);
 char *stputs(const char *, char *);
 
 
-static inline char *_STPUTC(char c, char *p) {
+static inline char *_STPUTC(int c, char *p) {
 	if (p == sstrend)
 		p = growstackstr();
 	*p++ = c;