Alexandre Julliard : dbghelp: Avoid size_t in a trace.
Alexandre Julliard
julliard at winehq.org
Thu Feb 12 11:14:56 CST 2009
Module: wine
Branch: master
Commit: 9a4e519aeb90c3f36947ec17aad2bc2b690541d4
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9a4e519aeb90c3f36947ec17aad2bc2b690541d4
Author: Alexandre Julliard <julliard at winehq.org>
Date: Thu Feb 12 15:28:33 2009 +0100
dbghelp: Avoid size_t in a trace.
---
dlls/dbghelp/storage.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/dbghelp/storage.c b/dlls/dbghelp/storage.c
index d3f5949..d687862 100644
--- a/dlls/dbghelp/storage.c
+++ b/dlls/dbghelp/storage.c
@@ -110,7 +110,7 @@ void* pool_alloc(struct pool* pool, size_t len)
size = max( pool->arena_size, len + sizeof(struct pool_arena) );
arena = HeapAlloc(GetProcessHeap(), 0, size);
- if (!arena) {ERR("OOM for %u\n", size);return NULL;}
+ if (!arena) return NULL;
ret = arena + 1;
arena->current = (char*)ret + len;
More information about the wine-cvs
mailing list