Revision: 2740
http://rigsofrods.svn.sourceforge.net/rigsofrods/?rev=2740&view=rev
Author: rorthomas
Date: 2012-05-28 18:18:10 +0000 (Mon, 28 May 2012)
Log Message:
-----------
closes #23
Modified Paths:
--------------
trunk/source/main/utils/ZeroedMemoryAllocator.h
Modified: trunk/source/main/utils/ZeroedMemoryAllocator.h
===================================================================
--- trunk/source/main/utils/ZeroedMemoryAllocator.h 2012-05-28 18:11:05 UTC
(rev 2739)
+++ trunk/source/main/utils/ZeroedMemoryAllocator.h 2012-05-28 18:18:10 UTC
(rev 2740)
@@ -46,7 +46,7 @@
*/
inline void *operator new(size_t size)
{
- return calloc(size, sizeof(char));
+ return calloc(size, sizeof(unsigned char));
}
/**
@@ -56,7 +56,7 @@
*/
inline void *operator new[](size_t size)
{
- return calloc(size, sizeof(char));
+ return calloc(size, sizeof(unsigned char));
}
/**
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Rigsofrods-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rigsofrods-devel