summaryrefslogtreecommitdiff
path: root/runtime/libtrace/tracelib.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/libtrace/tracelib.c')
-rw-r--r--runtime/libtrace/tracelib.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/libtrace/tracelib.c b/runtime/libtrace/tracelib.c
index 35c9ccc9ca..aa4e603c11 100644
--- a/runtime/libtrace/tracelib.c
+++ b/runtime/libtrace/tracelib.c
@@ -20,7 +20,7 @@
typedef int64_t Generic;
typedef uint64_t Index;
-typedef ptrdiff_t Pointer;
+typedef uint64_t Pointer;
/* Index IntegerHashFunc(const Generic value, const Index size) */
#define IntegerHashFunc(value, size) \
@@ -262,7 +262,6 @@ HashPointerToSeqNum(char* ptr)
void
ReleasePointerSeqNum(char* ptr)
{ /* if a sequence number was assigned to this ptr, release it */
- SequenceNumber seqnum;
if (SequenceNumberTable != NULL)
Delete(SequenceNumberTable, ptr);
}