Tue Jul 2 23:45:14 1996 Ulrich Drepper <drepper@cygnus.com>
authorroland <roland>
Thu, 4 Jul 1996 00:05:44 +0000 (00:05 +0000)
committerroland <roland>
Thu, 4 Jul 1996 00:05:44 +0000 (00:05 +0000)
* locale/weight.h (get_weight): Cast constants to prevent
        warnings.

locale/weight.h

index 904a154..c7a9f96 100644 (file)
@@ -92,7 +92,7 @@ get_weight (const STRING_TYPE **str, weight_t *result)
        }
     }
 
-  if (__collate_table[slot + 1] != FORWARD_CHAR)
+  if (__collate_table[slot + 1] != (u_int32_t) FORWARD_CHAR)
     {
       /* We have a simple form.  One one value for each weight.  */
       size_t cnt;