diff options
author | Tucker Evans <tuckerevans24@gmail.com> | 2020-09-09 20:49:32 -0400 |
---|---|---|
committer | Tucker Evans <tuckerevans24@gmail.com> | 2020-09-09 20:52:26 -0400 |
commit | 4e1c2be8b650a9ea13f56565deb407a8e9164d62 (patch) | |
tree | 23204ec56b0ffbb3485ff8a727fc24d7d90b8722 | |
parent | d9e662b23f8c300288ccc09e2350c666c047d596 (diff) |
Fix printf formatters for debug printdevelop
-rw-r--r-- | collections/vector/vector.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/collections/vector/vector.c b/collections/vector/vector.c index d40959d..153cf9f 100644 --- a/collections/vector/vector.c +++ b/collections/vector/vector.c @@ -17,8 +17,8 @@ vec *root; { int i; - fprintf(stderr, "VEC[base: %p, end: %p, limit:%p]:\n\t ", - root->base, root->end, root->limit); + fprintf(stderr, "VEC[base: %p, end: %d, limit:%d]:\n\t ", + (void*) root->base, root->end, root->limit); for (i=0; i < root->end; i++){ fprintf(stderr, "[%p]", vec_index(root,i)); } |