diff options
author | okan <okan> | 2012-11-08 20:18:19 +0000 |
---|---|---|
committer | okan <okan> | 2012-11-08 20:18:19 +0000 |
commit | 04d4ed7b7e1f71d72e326429dc816988892be7eb (patch) | |
tree | a0bcae213aead87341f7efae116532e34ce33207 /group.c | |
parent | c9c0a5fdbb8ce451b9706fc33999a1667b60cd6f (diff) | |
download | cwm-04d4ed7b7e1f71d72e326429dc816988892be7eb.tar.gz cwm-04d4ed7b7e1f71d72e326429dc816988892be7eb.tar.xz cwm-04d4ed7b7e1f71d72e326429dc816988892be7eb.zip |
fix some warnings; inspired by a diff from Thordur Bjornsson.
Diffstat (limited to 'group.c')
-rw-r--r-- | group.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/group.c b/group.c index dd748ea..cf431c6 100644 --- a/group.c +++ b/group.c @@ -472,7 +472,7 @@ group_update_names(struct screen_ctx *sc) strings = xmalloc((nstrings < CALMWM_NGROUPS ? CALMWM_NGROUPS : nstrings) * sizeof(*strings)); - p = prop_ret; + p = (char *)prop_ret; while (n < nstrings) { strings[n++] = xstrdup(p); p += strlen(p) + 1; @@ -502,7 +502,7 @@ group_update_names(struct screen_ctx *sc) static void group_set_names(struct screen_ctx *sc) { - unsigned char *p, *q; + char *p, *q; size_t len = 0, tlen, slen; int i; |