/* @brief Add some more data to the buffer */
void xbt_sha_feed(xbt_sha_t sha, const unsigned char *data, size_t len)
{
- int i;
+ unsigned int i;
for (i = 0; i < len; i++) {
sha->buf[sha->blen / 4] <<= 8;
/* ************* */
#ifdef SIMGRID_TEST
#include "xbt/hash.h"
-#include "portable.h" /* hexa_str */
+#include "src/portable.h" /* hexa_str */
static char *mycmp(const char *p1, const char *p2, size_t n)
{