changeset 357:70ab1c28d4b2

int -> gint
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 07 Nov 2005 06:04:03 +0000
parents f979379cfb83
children 4f247b19c9ea
files src/xs_md5.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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)