Browse Source

Increase max size: I actually hit this with a large file.

Rusty Russell 16 years ago
parent
commit
aa83ea33d5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ccan/talloc/talloc.c

+ 1 - 1
ccan/talloc/talloc.c

@@ -43,7 +43,7 @@
 #define ALWAYS_REALLOC 0
 #define ALWAYS_REALLOC 0
 
 
 
 
-#define MAX_TALLOC_SIZE 0x10000000
+#define MAX_TALLOC_SIZE 0x7FFFFFFF
 #define TALLOC_MAGIC 0xe814ec70
 #define TALLOC_MAGIC 0xe814ec70
 #define TALLOC_FLAG_FREE 0x01
 #define TALLOC_FLAG_FREE 0x01
 #define TALLOC_FLAG_LOOP 0x02
 #define TALLOC_FLAG_LOOP 0x02