chiark / gitweb /
Fix mismatch between printf format strings and arguments in some
authorSimon Tatham <anakin@pobox.com>
Mon, 11 Apr 2011 17:32:44 +0000 (17:32 +0000)
committerSimon Tatham <anakin@pobox.com>
Mon, 11 Apr 2011 17:32:44 +0000 (17:32 +0000)
commit3e0822228aa4f5676b40e3911aa659676f6f4f48
tree5fdaca1cfb5189e19b5a4446d27655656244a876
parent91f5f585b266d59485eb8ba27e151c545e01cb2c
Fix mismatch between printf format strings and arguments in some
solosolver verbose diagnostics in X mode. Also added gcc-specific
prototypes with __attribute__((format)) to ensure they all get checked
in future.

Spotted by Arun Giridhar; segfault without this fix is reproducible by
'solosolver -v 3x3x:7_9e4_1c7d3e3d1b2_4e2c6e5_6b1d8e5d9c8_2e9_5'.

[originally from svn r9151]
solo.c