From: <th...@us...> - 2013-06-05 19:32:30
|
Revision: 727 http://sourceforge.net/p/py2exe/svn/727 Author: theller Date: 2013-06-05 19:32:27 +0000 (Wed, 05 Jun 2013) Log Message: ----------- Fix compiler warnings. Modified Paths: -------------- trunk/py2exe/source/MyLoadLibrary.c Modified: trunk/py2exe/source/MyLoadLibrary.c =================================================================== --- trunk/py2exe/source/MyLoadLibrary.c 2013-06-05 18:42:13 UTC (rev 726) +++ trunk/py2exe/source/MyLoadLibrary.c 2013-06-05 19:32:27 UTC (rev 727) @@ -64,7 +64,7 @@ { LIST *lib = libraries; while (lib) { - if (name && 0 == stricmp(name, lib->name)) { + if (name && 0 == _stricmp(name, lib->name)) { // printf("_FindMemoryModule(%s, %p) -> %s\n", name, module, lib->name); return lib; } else if (module == lib->module) { @@ -84,7 +84,7 @@ static LIST *_AddMemoryModule(LPCSTR name, HCUSTOMMODULE module) { LIST *entry = (LIST *)malloc(sizeof(LIST)); - entry->name = strdup(name); + entry->name = _strdup(name); entry->module = module; entry->next = libraries; entry->prev = NULL; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |