diff --git a/dlls/msvcp90/ios.c b/dlls/msvcp90/ios.c index 00a1b683b6f..a3c44f2ca06 100644 --- a/dlls/msvcp90/ios.c +++ b/dlls/msvcp90/ios.c @@ -12561,7 +12561,7 @@ strstreambuf* __thiscall strstreambuf_ctor_get(strstreambuf *this, const char *g { TRACE("(%p %p %ld)\n", this, g, len); - strstreambuf_ctor_get_put(this, NULL, 0, NULL); + strstreambuf_ctor_get_put(this, (char*)g, len, NULL); this->strmode |= STRSTATE_Constant; return this; }