Mercurial > hg > xmms-sid
changeset 1009:0cd6bcc9ef80
Cosmetics.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 05 May 2014 23:00:51 +0300 |
parents | fef02cb10652 |
children | 85ceec25b059 |
files | src/xs_support.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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);