Author: sserapion
Date: Thu Dec 3 19:10:08 2009
New Revision: 44381
URL:
http://svn.reactos.org/svn/reactos?rev=44381&view=rev
Log:
Don't use calloc, fixes building even more modules.
Modified:
branches/ros-amd64-bringup/reactos/lib/3rdparty/mingw/dummy_mingwthrd.c
Modified: branches/ros-amd64-bringup/reactos/lib/3rdparty/mingw/dummy_mingwthrd.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/lib/3…
==============================================================================
--- branches/ros-amd64-bringup/reactos/lib/3rdparty/mingw/dummy_mingwthrd.c [iso-8859-1]
(original)
+++ branches/ros-amd64-bringup/reactos/lib/3rdparty/mingw/dummy_mingwthrd.c [iso-8859-1]
Thu Dec 3 19:10:08 2009
@@ -42,7 +42,8 @@
if (__mingwthr_cs_init == 0)
return 0;
- new_key = (__mingwthr_key_t *) calloc (1, sizeof (__mingwthr_key_t));
+ new_key = (__mingwthr_key_t *)malloc(sizeof (__mingwthr_key_t));
+ memset(new_key, 0,sizeof (__mingwthr_key_t));
if (new_key == NULL)
return -1;