#include "stdinc.h"
#include "capability.h"
#include "irc_dictionary.h"
+#include "s_assert.h"
static rb_dlink_list capability_indexes = { NULL, NULL, 0 };
cb(buf, privdata);
}
- rb_snprintf(buf, sizeof buf, "'%s': remaining bits - %ld", idx->name,
- (sizeof(unsigned int) * 8) - (idx->highest_bit - 1));
+ rb_snprintf(buf, sizeof buf, "'%s': remaining bits - %u", idx->name,
+ (unsigned int)((sizeof(unsigned int) * 8) - (idx->highest_bit - 1)));
cb(buf, privdata);
}