Kaydet (Commit) 269a3e5c authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror,-Wformat

"format specifies type 'int' but the argument has type 'DWORD' (aka 'unsigned long')"

Change-Id: I96d239d2f674ffb30bcd596fc78d42a4af7316a1
üst 39deec23
......@@ -63,10 +63,8 @@ void GetDLLVersion(const sal_Unicode* aDLLPath, OUString& aVersion)
vers[2] = HIWORD(fileVersLS);
vers[3] = LOWORD(fileVersLS);
char buf[256];
sprintf(buf, "%d.%d.%d.%d", vers[0], vers[1], vers[2], vers[3]);
OString aBuf(buf);
aVersion = OStringToOUString(aBuf, RTL_TEXTENCODING_UTF8);
aVersion = OUString::number(vers[0]) + "." + OUString::number(vers[1])
+ "." + OUString::number(vers[2]) + "." + OUString::number(vers[3]);
}
/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment