diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/perf-test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/perf-test.cc b/test/perf-test.cc index 6dc8e341..45961d31 100644 --- a/test/perf-test.cc +++ b/test/perf-test.cc @@ -742,7 +742,7 @@ void OutputDebugString(const char *txt) #define _vsnprintf vsnprintf
#endif
-void my_error(int pos, const char *msg, va_list args) {
+void my_error(void *, ErrorCategory, int pos, char *msg) {
#if 0
char buf[4096], *p = buf;
@@ -1231,7 +1231,7 @@ static void RenderCmdLineArg(char *cmdLineArg) int main(int argc, char **argv)
{
- setErrorFunction(my_error);
+ setErrorCallback(my_error, NULL);
ParseCommandLine(argc, argv);
if (0 == StrList_Len(&gArgsListRoot))
PrintUsageAndExit(argc, argv);
|