projects
/
platform
/
upstream
/
libsolv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add ENABLE_COMPLEX_DEPS flag
[platform/upstream/libsolv.git]
/
win32
/
tre-mem.c
diff --git
a/win32/tre-mem.c
b/win32/tre-mem.c
index
0fbf7b2
..
327515b
100644
(file)
--- a/
win32/tre-mem.c
+++ b/
win32/tre-mem.c
@@
-143,7
+143,7
@@
tre_mem_alloc_impl(tre_mem_t mem, int provided, void *provided_block,
}
/* Make sure the next pointer will be aligned. */
}
/* Make sure the next pointer will be aligned. */
- size += ALIGN(mem->ptr + size,
long
);
+ size += ALIGN(mem->ptr + size,
size_t
);
/* Allocate from current block. */
ptr = mem->ptr;
/* Allocate from current block. */
ptr = mem->ptr;