diff options
author | Bobby Bingham <koorogi@koorogi.info> | 2023-06-15 23:15:40 -0500 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-06-16 18:16:30 +0900 |
commit | 597a5fc50711079fed5a8aae1bf2b3a4604baa06 (patch) | |
tree | 8ceed9b5da9a3aef08638f9f14523b15108bf619 | |
parent | 5a3b69dff506941fd9a408852d924d764deb8540 (diff) | |
download | arts-597a5fc50711079fed5a8aae1bf2b3a4604baa06.tar.gz arts-597a5fc50711079fed5a8aae1bf2b3a4604baa06.zip |
Fix possibly incorrect type for format string
request may be int or unsigned long depending on the platform, but the
format string assumed unsigned long.
Signed-off-by: Bobby Bingham <koorogi@koorogi.info>
(cherry picked from commit 218293239213ee12bf70d1c11b8c138ea5ce1aa5)
-rw-r--r-- | artsc/artsdsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/artsc/artsdsp.c b/artsc/artsdsp.c index 4713d84..79ff1f8 100644 --- a/artsc/artsdsp.c +++ b/artsc/artsdsp.c @@ -484,7 +484,7 @@ int ioctl (int fd, ioctl_request_t request, ...) #endif default: - artsdspdebug("aRts: unhandled /dev/dsp ioctl (%lx - %p)\n",request, argp); + artsdspdebug("aRts: unhandled /dev/dsp ioctl (%lx - %p)\n", (unsigned long)request, argp); break; } |