diff --git a/src/error.cpp b/src/error.cpp index 5f26d97..889cd47 100644 --- a/src/error.cpp +++ b/src/error.cpp @@ -33,7 +33,7 @@ const char *errstrs[] = { #undef ECODE char* -dbgsprint(int32 code, ...) +dbgsprint(uint32 code, ...) { va_list ap; static char strbuf[512]; diff --git a/src/rwerror.h b/src/rwerror.h index 937cc0e..2575626 100644 --- a/src/rwerror.h +++ b/src/rwerror.h @@ -10,7 +10,7 @@ void setError(Error *e); Error *getError(Error *e); #define _ERRORCODE(code, ...) code -char *dbgsprint(int32 code, ...); +char *dbgsprint(uint32 code, ...); /* ecode is supposed to be in format "(errorcode, printf-arguments..)" */ #define RWERROR(ecode) do{ \