aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2005-02-27 19:37:51 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2005-02-27 19:37:51 +0000
commit4b25405336cbc1eb11360b980ebef985f591d4c1 (patch)
tree0ca8aedfda363097f03cf825a84a472f8cf6b719
parent8945135e1f94c4f15a1860b1d936c2617065c6aa (diff)
downloadsrc-4b25405336cbc1eb11360b980ebef985f591d4c1.tar.gz
src-4b25405336cbc1eb11360b980ebef985f591d4c1.zip
Notes
-rw-r--r--usr.bin/gencat/gencat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/gencat/gencat.c b/usr.bin/gencat/gencat.c
index 119c5e3bb608..306f48d3d7bd 100644
--- a/usr.bin/gencat/gencat.c
+++ b/usr.bin/gencat/gencat.c
@@ -623,9 +623,9 @@ MCWriteCat(int fd)
nmsgs * sizeof(struct _nls_msg_hdr));
/* compute offsets for set & msg header tables and string pool */
- set_hdr = (struct _nls_set_hdr *) ((char *) msgcat +
+ set_hdr = (struct _nls_set_hdr *)(void *)((char *)msgcat +
sizeof(struct _nls_cat_hdr));
- msg_hdr = (struct _nls_msg_hdr *) ((char *) msgcat +
+ msg_hdr = (struct _nls_msg_hdr *)(void *)((char *)msgcat +
sizeof(struct _nls_cat_hdr) +
nsets * sizeof(struct _nls_set_hdr));
strings = (char *) msgcat +