fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / external / coinmp / werror-format-security.patch.0
blob90c116b5b06d3def250c80b387b4f86c74f7ad94
1 diff -ur coinmp.org/CoinUtils/src/CoinMessageHandler.cpp coinmp/CoinUtils/src/CoinMessageHandler.cpp
2 --- CoinUtils/src/CoinMessageHandler.cpp        2014-05-21 23:14:01.384874167 +0200
3 +++ CoinUtils/src/CoinMessageHandler.cpp        2014-05-21 23:14:47.708874712 +0200
4 @@ -820,7 +820,7 @@
5           sprintf(messageOut_,g_format_,doublevalue);
6           if (next != format_+2) {
7             messageOut_+=strlen(messageOut_);
8 -           sprintf(messageOut_,format_+2);
9 +           sprintf(messageOut_,"%s",format_+2);
10           }
11         }
12         messageOut_+=strlen(messageOut_);