mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix tst.args1.c on LP64 platforms.
The untyped probe arguments have a width larger than int on such platforms, so printing their value without a cast can give unexpected results. MFC after: 1 week
This commit is contained in:
parent
31768cc105
commit
6a4985f61c
1 changed files with 2 additions and 2 deletions
|
|
@ -31,8 +31,8 @@
|
|||
#include <unistd.h>
|
||||
|
||||
int
|
||||
go(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6,
|
||||
int arg7, int arg8, int arg9)
|
||||
go(long arg0, long arg1, long arg2, long arg3, long arg4, long arg5, long arg6,
|
||||
long arg7, long arg8, long arg9)
|
||||
{
|
||||
return (arg1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue