From 6232053ac83a6fb1a2eed8e05f964b8bfd27ddcd Mon Sep 17 00:00:00 2001 From: perry.werneck@gmail.com Date: Tue, 5 Mar 2013 15:40:28 +0000 Subject: [PATCH] Corrigindo erros ao compilar em windows --- src/plugins/remotectl/calls.c | 2 +- src/plugins/remotectl/hllapi.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/remotectl/calls.c b/src/plugins/remotectl/calls.c index 7d06538..6dfffe8 100644 --- a/src/plugins/remotectl/calls.c +++ b/src/plugins/remotectl/calls.c @@ -169,7 +169,7 @@ if(hModule == NULL) { // Enable DLL error popup and try again with full path - SetErrorMode(0) + SetErrorMode(0); hModule = LoadLibraryEx(buffer,NULL,LOAD_LIBRARY_SEARCH_DEFAULT_DIRS|LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR); } diff --git a/src/plugins/remotectl/hllapi.c b/src/plugins/remotectl/hllapi.c index 1fdc04f..b3beefe 100644 --- a/src/plugins/remotectl/hllapi.c +++ b/src/plugins/remotectl/hllapi.c @@ -64,7 +64,7 @@ { int f; - for(f=0;f< (sizeof (hllapi_call) / sizeof ((hllapi_call)[0])));f++) + for(f=0;f< (sizeof (hllapi_call) / sizeof ((hllapi_call)[0]));f++) { if(hllapi_call[f].func == *func) return hllapi_call[f].exec(buffer,length,rc); -- libgit2 0.21.2