assert(CRYPTO_KEY_SIZE == 16);
GChecksum *csum = g_checksum_new(G_CHECKSUM_SHA256);
- g_checksum_update(csum, keystr, strlen(keystr));
+ g_checksum_update(csum, (const guchar *)keystr, strlen(keystr));
g_checksum_get_digest(csum, raw_csum, &csum_len);
g_checksum_free(csum);
BlueSkyRCStr *data = block->data;
GChecksum *csum = g_checksum_new(G_CHECKSUM_SHA256);
- g_checksum_update(csum, data->data, data->len);
+ g_checksum_update(csum, (const guchar *)data->data, data->len);
gchar *name = g_strdup(g_checksum_get_string(csum));
/* Store the file data asynchronously, and don't bother waiting for a