* replace libtre-git, because we want to get rid of -git and there is a release now * 001-autotools.patch: remove autotools changes, seems to build fine without it
14 lines
493 B
Diff
14 lines
493 B
Diff
--- libtre/lib/tre-internal.h.orig 2015-01-13 23:45:59.325000000 +0300
|
|
+++ libtre/lib/tre-internal.h 2015-01-14 00:12:06.954200000 +0300
|
|
@@ -127,8 +127,8 @@
|
|
/* Returns number of bytes to add to (char *)ptr to make it
|
|
properly aligned for the type. */
|
|
#define ALIGN(ptr, type) \
|
|
- ((((long)ptr) % sizeof(type)) \
|
|
- ? (sizeof(type) - (((long)ptr) % sizeof(type))) \
|
|
+ ((((intptr_t)ptr) % sizeof(type)) \
|
|
+ ? (sizeof(type) - (((intptr_t)ptr) % sizeof(type))) \
|
|
: 0)
|
|
|
|
#undef MAX
|