summaryrefslogtreecommitdiff
path: root/c_src/util.h
diff options
context:
space:
mode:
authorMagnus Ahltorp <map@kth.se>2016-11-18 15:25:18 +0100
committerMagnus Ahltorp <map@kth.se>2016-11-18 15:25:18 +0100
commit6d2334754eca27f6f8244a458c47bfc86b778d75 (patch)
treed29e911579266a743ab8d7b733a3149d9f67b5a3 /c_src/util.h
parent08d4b770473627526f7b47f92d2ae8aaadd01ce6 (diff)
Make calc_padding handle 64 bit offsets correctly
Diffstat (limited to 'c_src/util.h')
-rw-r--r--c_src/util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/c_src/util.h b/c_src/util.h
index aec4512..30e7a64 100644
--- a/c_src/util.h
+++ b/c_src/util.h
@@ -28,8 +28,8 @@
void
set_error(char **error, const char * __restrict, ...) __attribute__ ((__format__ (__printf__, 2, 3)));
-int
-calc_padding(int offset, int alignment);
+uint64_t
+calc_padding(uint64_t offset, uint64_t alignment);
void
print_entry(node_object node);