summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBobby Bingham <[email protected]>2023-06-15 23:15:40 -0500
committerBobby Bingham <[email protected]>2023-06-16 00:09:54 -0500
commit218293239213ee12bf70d1c11b8c138ea5ce1aa5 (patch)
tree88cb48aa981cb359ea3aa2411a819b11bf678606
parent914164d8dbef658885a255e7956c7e8bef39b9d4 (diff)
downloadarts-218293239213ee12bf70d1c11b8c138ea5ce1aa5.tar.gz
arts-218293239213ee12bf70d1c11b8c138ea5ce1aa5.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 <[email protected]>
-rw-r--r--artsc/artsdsp.c2
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;
}