[Libreoffice-commits] core.git: vcl/source
Caolán McNamara
caolanm at redhat.com
Fri May 15 01:51:41 PDT 2015
vcl/source/gdi/metaact.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 346baad24a7c3795ce134092913c9aa31cddfdfd
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri May 15 09:51:09 2015 +0100
fix debug build
Change-Id: I5199784c68d3c54dd661dda0f8a61e8ea68e884e
diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx
index 604aaa9..471fd9b 100644
--- a/vcl/source/gdi/metaact.cxx
+++ b/vcl/source/gdi/metaact.cxx
@@ -101,7 +101,7 @@ meta_action_name(MetaActionType nMetaAction)
// Yes, return a pointer to a static buffer. This is a very
// local debugging output function, so no big deal.
static char buffer[6];
- sprintf(buffer, "%u", nMetaAction);
+ sprintf(buffer, "%u", static_cast<unsigned int>(nMetaAction));
return buffer;
}
#endif
More information about the Libreoffice-commits
mailing list