summaryrefslogtreecommitdiff
path: root/translate/grt/ghwlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'translate/grt/ghwlib.c')
-rw-r--r--translate/grt/ghwlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/translate/grt/ghwlib.c b/translate/grt/ghwlib.c
index 827e698..9847292 100644
--- a/translate/grt/ghwlib.c
+++ b/translate/grt/ghwlib.c
@@ -1147,10 +1147,10 @@ ghw_read_cycle_cont (struct ghw_handler *h, int *list)
list_p = list;
while (1)
{
- int32_t d;
+ uint32_t d;
/* Read delta to next signal. */
- if (ghw_read_sleb128 (h, &d) < 0)
+ if (ghw_read_uleb128 (h, &d) < 0)
return -1;
if (d == 0)
{