From 218293239213ee12bf70d1c11b8c138ea5ce1aa5 Mon Sep 17 00:00:00 2001 From: Bobby Bingham Date: Thu, 15 Jun 2023 23:15:40 -0500 Subject: [PATCH] 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 --- artsc/artsdsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }