summaryrefslogtreecommitdiff
path: root/src/modules/json
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-30 13:33:28 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-30 13:33:28 +0000
commitb8a02a2b98e7b0e6a8a54cb140a873039d9c6d3d (patch)
tree8dd46393de0047d87492a37e4ab057f143153aa8 /src/modules/json
parentb0632a264c7ce0120af88e915a455c3167f1d5c5 (diff)
- setting thread names;
- warning fixes; - code cleaning; - option to disable sounds during idle git-svn-id: http://svn.miranda-ng.org/main/trunk@692 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/json')
-rw-r--r--src/modules/json/JSONMemory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/json/JSONMemory.cpp b/src/modules/json/JSONMemory.cpp
index bd9cd045a2..08b6d7fd70 100644
--- a/src/modules/json/JSONMemory.cpp
+++ b/src/modules/json/JSONMemory.cpp
@@ -58,7 +58,7 @@ void * JSONMemory::json_malloc(size_t siz){
JSON_ASSERT(result, JSON_TEXT("out of memory"));
return result;
#else
- return mymalloc(siz);
+ return mymalloc((unsigned long)siz);
#endif
}
#ifdef JSON_DEBUG //in debug mode, see if the malloc was successful
@@ -77,7 +77,7 @@ void * JSONMemory::json_realloc(void * ptr, size_t siz){
JSON_ASSERT(result, JSON_TEXT("out of memory"));
return result;
#else
- return myrealloc(ptr, siz);
+ return myrealloc(ptr, (unsigned long)siz);
#endif
}
#ifdef JSON_DEBUG //in debug mode, see if the malloc was successful