summaryrefslogtreecommitdiff
path: root/src/Resources.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2019-05-05 21:06:35 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2019-05-06 18:03:35 -0400
commit8905b82df8a6dc1668d8e817924fb7b8cd574bdc (patch)
tree6355ff51a5de738a202938ae81c8c37f163eb501 /src/Resources.c
parentfb1d51d4da8f303e92c8b30e4503dc7f9c01b3a8 (diff)
use "const void *" rather than "char *" for memcmp, etc
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'src/Resources.c')
-rw-r--r--src/Resources.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Resources.c b/src/Resources.c
index 50d30fb..672f5b9 100644
--- a/src/Resources.c
+++ b/src/Resources.c
@@ -519,8 +519,8 @@ static XtCacheRef *GetResources(
}
/* Mark each resource as not found on arg list */
- memset((char *) found, 0, (size_t) (num_resources * sizeof(Boolean)));
- memset((char *) typed, 0, (size_t) (num_resources * sizeof(int)));
+ memset((void *) found, 0, (size_t) (num_resources * sizeof(Boolean)));
+ memset((void *) typed, 0, (size_t) (num_resources * sizeof(int)));
/* Copy the args into the resources, mark each as found */
{