Fix passing of non-primitive types to varargs functions

This commit is contained in:
Ben Payne 2015-03-04 16:00:02 -05:00
parent 7d809a0d28
commit da4078c707
2 changed files with 4 additions and 4 deletions

View file

@ -79,7 +79,7 @@ ConsoleFunction( mathInit, void, 1, 10, "( ... )"
properties |= CPU_PROP_SSE;
continue;
}
Con::printf("Error: MathInit(): ignoring unknown math extension '%s'", *argv);
Con::printf("Error: MathInit(): ignoring unknown math extension '%s'", argv->getStringValue());
}
Math::init(properties);
}