From 4bdf94899df4e60f53cafdad42f454582f416457 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 3 Jul 2011 18:57:27 +0000 Subject: [PATCH] writemem: tweak style git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1951 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- urjtag/src/bus/writemem.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/urjtag/src/bus/writemem.c b/urjtag/src/bus/writemem.c index 4775d3d8..cda5be8d 100644 --- a/urjtag/src/bus/writemem.c +++ b/urjtag/src/bus/writemem.c @@ -130,7 +130,8 @@ urj_bus_writemem (urj_bus_t *bus, FILE *f, uint32_t addr, uint32_t len) { if (urj_get_file_endian () == URJ_ENDIAN_BIG) { - data <<= 8; /* first shift doesn't matter: data = 0 */ + /* first shift doesn't matter: data = 0 */ + data <<= 8; data |= b[bidx++]; } else