X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/d76bf86f438d4f5f9fe493ab76f02ffc78f3ae2e..84254bbdf069f0386f188d0e2bc5be795a9272bb:/src/w32heap.c diff --git a/src/w32heap.c b/src/w32heap.c index 81206ce283..8ab2f58c6e 100644 --- a/src/w32heap.c +++ b/src/w32heap.c @@ -1,5 +1,5 @@ /* Heap management routines for GNU Emacs on the Microsoft Windows API. - Copyright (C) 1994, 2001-2013 Free Software Foundation, Inc. + Copyright (C) 1994, 2001-2014 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -78,7 +78,7 @@ allocate_heap (void) while (!ptr && (base < end)) { #ifdef _WIN64 - reserved_heap_size = min(end - base, 0x4000000000i64); /* Limit to 256Gb */ + reserved_heap_size = min(end - base, 0x4000000000ull); /* Limit to 256Gb */ #else reserved_heap_size = end - base; #endif @@ -96,7 +96,7 @@ static char * allocate_heap (void) { #ifdef _WIN64 - size_t size = 0x4000000000i64; /* start by asking for 32GB */ + size_t size = 0x4000000000ull; /* start by asking for 32GB */ #else /* We used to start with 2GB here, but on Windows 7 that would leave too little room in the address space for threads started by