# HG changeset patch # User Matti Hamalainen # Date 1131343443 0 # Node ID 70ab1c28d4b2573a0c99579b70662fe1b9d21a3f # Parent f979379cfb83def6364fafff74ed26535cf36cac int -> gint diff -r f979379cfb83 -r 70ab1c28d4b2 src/xs_md5.c --- a/src/xs_md5.c Tue Nov 01 02:57:00 2005 +0000 +++ b/src/xs_md5.c Mon Nov 07 06:04:03 2005 +0000 @@ -123,7 +123,7 @@ guint32 t; guint32 X[16]; const guint8 *xp = data; - int i; + gint i; for (i = 0; i < 16; ++i, xp += 4) X[i] = xp[0] + (xp[1] << 8) + (xp[2] << 16) + (xp[3] << 24); @@ -270,8 +270,8 @@ void xs_md5_append(t_xs_md5state * pms, const guint8 * data, int nbytes) { const guint8 *p = data; - int left = nbytes; - int offset = (pms->count[0] >> 3) & 63; + gint left = nbytes; + gint offset = (pms->count[0] >> 3) & 63; guint32 nbits = (guint32) (nbytes << 3); if (nbytes <= 0)