Add some missing va_ends. Reported by jmarsh
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4227
This commit is contained in:
parent
fa8b4c5d00
commit
5888c05dd1
3 changed files with 3 additions and 0 deletions
|
@ -769,6 +769,7 @@ static void gen_call_function(void * func,char const* ops,...) {
|
|||
}
|
||||
ops++;
|
||||
}
|
||||
va_end(params);
|
||||
|
||||
#if defined (MACOSX)
|
||||
/* align stack */
|
||||
|
|
|
@ -490,6 +490,7 @@ static void uprintf(char const *s, ...)
|
|||
va_list arg_ptr;
|
||||
va_start (arg_ptr, s);
|
||||
vsprintf(ubufp, s, arg_ptr);
|
||||
va_end(arg_ptr);
|
||||
while (*ubufp)
|
||||
ubufp++;
|
||||
}
|
||||
|
|
|
@ -50,6 +50,7 @@ void Msg(const char fmt[], ...) {
|
|||
|
||||
va_start(val, fmt);
|
||||
wvsprintf(buf, fmt, val);
|
||||
va_end(val);
|
||||
|
||||
const COORD _80x50 = {80,50};
|
||||
static BOOL startup = (AllocConsole(), SetConsoleScreenBufferSize(GetStdHandle(STD_OUTPUT_HANDLE), _80x50));
|
||||
|
|
Loading…
Add table
Reference in a new issue