git://git.jankratochvil.net
/
captive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e68c703
)
Fixed new 'alloc_length' resizing code.
author
short
<>
Thu, 6 Nov 2003 06:36:43 +0000
(06:36 +0000)
committer
short
<>
Thu, 6 Nov 2003 06:36:43 +0000
(06:36 +0000)
src/libcaptive/cc/sharedcachemap.c
patch
|
blob
|
history
diff --git
a/src/libcaptive/cc/sharedcachemap.c
b/src/libcaptive/cc/sharedcachemap.c
index
69d8842
..
055611a
100644
(file)
--- a/
src/libcaptive/cc/sharedcachemap.c
+++ b/
src/libcaptive/cc/sharedcachemap.c
@@
-200,7
+200,7
@@
size_t alloc_new;
guint64 alloc64_new;
gpointer buffer_new;
- alloc64_new=CAPTIVE_ROUND_UP64((!size64_new ? 0 : M
IN
(size64_new*2,0x10000)),PAGE_SIZE);
+ alloc64_new=CAPTIVE_ROUND_UP64((!size64_new ? 0 : M
AX
(size64_new*2,0x10000)),PAGE_SIZE);
alloc_new=alloc64_new;
if (alloc_new!=alloc64_new)
goto size_new_big;