Ticket #1086: t1086_ogl_tex-swprintf-signedness-fix.patch
File t1086_ogl_tex-swprintf-signedness-fix.patch, 492 bytes (added by , 12 years ago) |
---|
-
source/lib/res/graphics/ogl_tex.cpp
505 505 506 506 static Status OglTex_to_string(const OglTex* ot, wchar_t* buf) 507 507 { 508 swprintf_s(buf, H_STRING_LEN, L"OglTex id=% dflags=%x", ot->id, ot->flags);508 swprintf_s(buf, H_STRING_LEN, L"OglTex id=%u flags=%x", ot->id, ot->flags); 509 509 return INFO::OK; 510 510 } 511 511