diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-07-24 12:11:25 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-07-24 12:11:25 +0100 |
| commit | a4b28be9b47ca541bda1153feca9a37bbb304be6 (patch) | |
| tree | db237fe5a69175451ee45caeb39222d89e91bd1f | |
| parent | 16c8932ff271bb271aeadb610ab5d04d33fc6b10 (diff) | |
Try to fix build on newer MinGW.
| -rw-r--r-- | src/key.cc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -96,7 +96,11 @@ Key::hex () const DCP_ASSERT (ASDCP::KeyLen == 16); char buffer[33]; +#ifdef LIBDCP_WINDOWS + gnu_snprintf ( +#else snprintf ( +#endif buffer, sizeof(buffer), "%02hhx%02hhx%02hhx%02hhx%02hhx%02hhx%02hhx%02hhx%02hhx%02hhx%02hhx%02hhx%02hhx%02hhx%02hhx%02hhx", _value[0], _value[1], _value[2], _value[3], _value[4], _value[5], _value[6], _value[7], |
