lilypad: Use l length modifier for wide character string

w is Windows specific. Fixes a gcc and clang warning.
This commit is contained in:
Jonathan Li 2017-03-23 22:26:11 +00:00
parent f1eff358da
commit eb8ede38cf
1 changed files with 1 additions and 1 deletions

View File

@ -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;