Replace uint with unsigned int in assoc.c.

uint is not a valid type on Windows. It's also not a valid type in C, but Linux
and OSX define it somewhere. We can't rely on its existence.
This commit is contained in:
iphydf 2016-08-22 16:01:08 +01:00
parent a6f2e9539b
commit 503d198741
No known key found for this signature in database
GPG Key ID: 3855DBA2D74403C9

View File

@ -230,8 +230,8 @@ static hash_t hash_collide(const Assoc *assoc, hash_t hash)
* BUT: because the usage of the word "never" invokes Murphy's law, catch it */
if (!retval) {
#ifdef TOX_DEBUG
fprintf(stderr, "assoc::hash_collide: hash %u, bucket size %u => %u!", hash, (uint)assoc->candidates_bucket_size,
retval);
fprintf(stderr, "assoc::hash_collide: hash %u, bucket size %u => %u!", hash,
(unsigned int)assoc->candidates_bucket_size, retval);
assert(retval != 0);
#endif
retval = 1;