From eb8ede38cf10376bc8a9c9129db3dbcbbd44f424 Mon Sep 17 00:00:00 2001 From: Jonathan Li Date: Thu, 23 Mar 2017 22:26:11 +0000 Subject: [PATCH] lilypad: Use l length modifier for wide character string w is Windows specific. Fixes a gcc and clang warning. --- plugins/LilyPad/LilyPad.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/LilyPad/LilyPad.cpp b/plugins/LilyPad/LilyPad.cpp index bbcaf94c64..1d997c7a33 100644 --- a/plugins/LilyPad/LilyPad.cpp +++ b/plugins/LilyPad/LilyPad.cpp @@ -574,7 +574,7 @@ void Update(unsigned int port, unsigned int slot) } if (dev->attached && dev->pads[0][0][config.padConfigs[0][0].type].numBindings > 0) { if (!anyDeviceActiveAndBound) { - fprintf(stderr, "LilyPad: A device(%ws) has been attached with bound controls.\n", dev->displayName); + fprintf(stderr, "LilyPad: A device(%ls) has been attached with bound controls.\n", dev->displayName); anyDeviceActiveAndBound = true; } currentDeviceActiveAndBound = true;