From be600c49a8188f486454c7e8ff4946da25a0d4c1 Mon Sep 17 00:00:00 2001 From: rin Date: Tue, 13 Oct 2020 09:00:17 +0000 Subject: [PATCH] Argument for AUDIO_WSEEK ioctl is u_long, not int. Fix false positive for aarch64eb (LP64BE): AUDIO_WSEEK, failed, Line 4467: n expects 4 but 0 --- tests/dev/audio/audiotest.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/dev/audio/audiotest.c b/tests/dev/audio/audiotest.c index 9aa9302ec060..756655acc4ab 100644 --- a/tests/dev/audio/audiotest.c +++ b/tests/dev/audio/audiotest.c @@ -1,4 +1,4 @@ -/* $NetBSD: audiotest.c,v 1.12 2020/06/26 07:50:12 jruoho Exp $ */ +/* $NetBSD: audiotest.c,v 1.13 2020/10/13 09:00:17 rin Exp $ */ /* * Copyright (C) 2019 Tetsuya Isaki. All rights reserved. @@ -26,7 +26,7 @@ */ #include -__RCSID("$NetBSD: audiotest.c,v 1.12 2020/06/26 07:50:12 jruoho Exp $"); +__RCSID("$NetBSD: audiotest.c,v 1.13 2020/10/13 09:00:17 rin Exp $"); #include #include @@ -4430,7 +4430,7 @@ DEF(AUDIO_WSEEK) struct audio_info ai; int r; int fd; - int n; + u_long n; TEST("AUDIO_WSEEK");