diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-05-14 17:54:42 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-05-14 17:54:42 +0000 |
commit | c6f3075846c286cebabf731303d52660dd30afe8 (patch) | |
tree | 7fc3844d639c5d82fd378b30e3461c0fc7f04174 /mandoc.c | |
parent | 121fc3d4eff42f9400d7e165b83c068757148a7b (diff) | |
download | mandoc-c6f3075846c286cebabf731303d52660dd30afe8.tar.gz |
Make character engine (-Tascii, -Tpdf, -Tps) ready for Unicode: make buffer
consist of type "int". This will take more work (especially in encode and
friends), but this is a strong start. This commit also consists of some
harmless lint fixes.
Diffstat (limited to 'mandoc.c')
-rw-r--r-- | mandoc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -704,7 +704,7 @@ mandoc_strntou(const char *p, size_t sz, int base) return(-1); memcpy(buf, p, sz); - buf[sz] = '\0'; + buf[(int)sz] = '\0'; errno = 0; v = strtol(buf, &ep, base); |