summaryrefslogtreecommitdiff
path: root/src/xsvf/xsvf.c
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2009-11-12 10:10:11 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2009-11-17 15:04:17 +0100
commit83104648e6a1834244eb1b1bb6324f729532906c (patch)
tree28de3f4ccc64bd0475389be9233717337eb42566 /src/xsvf/xsvf.c
parentb888b63fe9bee26e567a645f6ceb10d66bfff785 (diff)
downloadopenocd_libswd-83104648e6a1834244eb1b1bb6324f729532906c.tar.gz
openocd_libswd-83104648e6a1834244eb1b1bb6324f729532906c.tar.bz2
openocd_libswd-83104648e6a1834244eb1b1bb6324f729532906c.tar.xz
openocd_libswd-83104648e6a1834244eb1b1bb6324f729532906c.zip
zy1000: fix bug when running on non-arm CPU
Shifting by more than 32 is undefined for 32 bit integers according to the C standard. Robust solution is conditional code. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/xsvf/xsvf.c')
0 files changed, 0 insertions, 0 deletions