diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-11-18 23:09:43 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-11-18 23:10:11 -0800 |
commit | 9e9519975fe3a5827b362b8df4a5c69745125a5a (patch) | |
tree | 67cf011321b8a7511eb05b34d79f531b141d52c2 | |
parent | e46b483c58ec3cfc01d2800c069eadc90166eb04 (diff) |
Fix "cast discards qualifiers from pointer target type" warnings
ucs2any.c: In function ‘chars_compare’:
ucs2any.c:450:2: warning: cast discards qualifiers from pointer target type
ucs2any.c:451:2: warning: cast discards qualifiers from pointer target type
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | ucs2any.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -447,8 +447,8 @@ usage(void) { static int chars_compare(const void *aa, const void *bb) { - int a = *(int *)aa; - int b = *(int *)bb; + int a = *(const int *)aa; + int b = *(const int *)bb; return a - b; } |