about summary refs log tree commit diff
path: root/Src/hashtable.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2005-11-15 08:44:17 +0000
committerWayne Davison <wayned@users.sourceforge.net>2005-11-15 08:44:17 +0000
commite79af955f0620a699b01f11b584788404ba81767 (patch)
tree3cea0f78df60c7622321e1835ff8b67b347e796f /Src/hashtable.c
parent915e6ff66ad4e64c66eb9be3ced6bc6fdd26c0cf (diff)
downloadzsh-e79af955f0620a699b01f11b584788404ba81767.tar.gz
zsh-e79af955f0620a699b01f11b584788404ba81767.tar.xz
zsh-e79af955f0620a699b01f11b584788404ba81767.zip
Got rid of some unsigned-char/char pointer casts.
Diffstat (limited to 'Src/hashtable.c')
-rw-r--r--Src/hashtable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/hashtable.c b/Src/hashtable.c
index 470978574..881b45bea 100644
--- a/Src/hashtable.c
+++ b/Src/hashtable.c
@@ -337,7 +337,7 @@ hnamcmp(const void *ap, const void *bp)
 {
     HashNode a = *(HashNode *)ap;
     HashNode b = *(HashNode *)bp;
-    return ztrcmp((unsigned char *) a->nam, (unsigned char *) b->nam);
+    return ztrcmp(a->nam, b->nam);
 }
 
 /* Scan the nodes in a hash table and execute scanfunc on nodes based on