summaryrefslogtreecommitdiff
path: root/src/xsvf/xsvf.c
diff options
context:
space:
mode:
authorkc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-02-10 18:21:17 +0000
committerkc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-02-10 18:21:17 +0000
commite77ae9096a40707d3b878b46969a60a06656dc06 (patch)
tree356ba1722b9c2f83e4723c404ecbeac3a71615f3 /src/xsvf/xsvf.c
parent725749de206e24b2d54f0ac72296f545baca3007 (diff)
downloadopenocd+libswd-e77ae9096a40707d3b878b46969a60a06656dc06.tar.gz
openocd+libswd-e77ae9096a40707d3b878b46969a60a06656dc06.tar.bz2
openocd+libswd-e77ae9096a40707d3b878b46969a60a06656dc06.tar.xz
openocd+libswd-e77ae9096a40707d3b878b46969a60a06656dc06.zip
Use C89/C99/C++ compliant boolean types
git-svn-id: svn://svn.berlios.de/openocd/trunk@1370 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/xsvf/xsvf.c')
-rw-r--r--src/xsvf/xsvf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xsvf/xsvf.c b/src/xsvf/xsvf.c
index 855021df..e3153a3e 100644
--- a/src/xsvf/xsvf.c
+++ b/src/xsvf/xsvf.c
@@ -201,11 +201,11 @@ static void xsvf_add_statemove(tap_state_t state)
int j = (move >> i) & 1;
if (j)
{
- curstate = tap_state_transition(curstate, TRUE);
+ curstate = tap_state_transition(curstate, true);
}
else
{
- curstate = tap_state_transition(curstate, FALSE);
+ curstate = tap_state_transition(curstate, false);
}
moves[i] = curstate;
}