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