# HG changeset patch # User Matti Hamalainen # Date 1399320051 -10800 # Node ID 0cd6bcc9ef8074696dcde6aabc1fe4a8ee198d71 # Parent fef02cb10652504e6392b6622493f2c54b6ccef9 Cosmetics. diff -r fef02cb10652 -r 0cd6bcc9ef80 src/xs_support.c --- a/src/xs_support.c Fri May 02 21:48:06 2014 +0300 +++ b/src/xs_support.c Mon May 05 23:00:51 2014 +0300 @@ -225,10 +225,9 @@ #elif G_BYTE_ORDER == G_BIG_ENDIAN static void xs_md5_bytereverse(guint8 *buf, guint l) { - guint32 t; do { - t = (guint32) ((guint) buf[3] << 8 | buf[2]) << 16 | ((guint) buf[1] << 8 | buf[0]); + guint32 t = (guint32) ((guint32) buf[3] << 8 | buf[2]) << 16 | ((guint32) buf[1] << 8 | buf[0]); *(guint32 *) buf = t; buf += sizeof(guint32); } while (--l);