Fix build on sparc64.
This commit is contained in:
parent
8945135e1f
commit
4b25405336
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=142684
@ -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 +
|
||||
|
Loading…
Reference in New Issue
Block a user