Changeset 5270:e25346c13638 in roaraudio for libroar/hash.c
- Timestamp:
- 11/17/11 18:20:12 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/hash.c
r5188 r5270 146 146 int i; 147 147 148 for (i = 0; _libroar_hashes[i].id != -1; i++)148 for (i = 0; _libroar_hashes[i].id != (uint_least32_t)-1; i++) 149 149 if ( _libroar_hashes[i].id == ht ) 150 150 return _libroar_hashes[i].name; … … 157 157 int i; 158 158 159 for (i = 0; _libroar_hashes[i].id != -1; i++)159 for (i = 0; _libroar_hashes[i].id != (uint_least32_t)-1; i++) 160 160 if ( !strcasecmp(_libroar_hashes[i].name, ht) ) 161 161 return _libroar_hashes[i].id; … … 168 168 int i; 169 169 170 for (i = 0; _libroar_hashes[i].id != -1; i++)170 for (i = 0; _libroar_hashes[i].id != (uint_least32_t)-1; i++) 171 171 if ( _libroar_hashes[i].id == ht ) 172 172 return _libroar_hashes[i].dlen;
Note: See TracChangeset
for help on using the changeset viewer.