Commit 6232053ac83a6fb1a2eed8e05f964b8bfd27ddcd

Authored by perry.werneck@gmail.com
1 parent 3f07f717

Corrigindo erros ao compilar em windows

src/plugins/remotectl/calls.c
@@ -169,7 +169,7 @@ @@ -169,7 +169,7 @@
169 if(hModule == NULL) 169 if(hModule == NULL)
170 { 170 {
171 // Enable DLL error popup and try again with full path 171 // Enable DLL error popup and try again with full path
172 - SetErrorMode(0) 172 + SetErrorMode(0);
173 hModule = LoadLibraryEx(buffer,NULL,LOAD_LIBRARY_SEARCH_DEFAULT_DIRS|LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR); 173 hModule = LoadLibraryEx(buffer,NULL,LOAD_LIBRARY_SEARCH_DEFAULT_DIRS|LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR);
174 } 174 }
175 175
src/plugins/remotectl/hllapi.c
@@ -64,7 +64,7 @@ @@ -64,7 +64,7 @@
64 { 64 {
65 int f; 65 int f;
66 66
67 - for(f=0;f< (sizeof (hllapi_call) / sizeof ((hllapi_call)[0])));f++) 67 + for(f=0;f< (sizeof (hllapi_call) / sizeof ((hllapi_call)[0]));f++)
68 { 68 {
69 if(hllapi_call[f].func == *func) 69 if(hllapi_call[f].func == *func)
70 return hllapi_call[f].exec(buffer,length,rc); 70 return hllapi_call[f].exec(buffer,length,rc);