@@ -1210,7 +1210,7 @@ int f_proc_startupdate(struct event_filler_arguments *args)
1210
1210
if (pidns != & init_pid_ns || pid_ns_for_children (current ) != pidns )
1211
1211
in_pidns = PPM_CL_CHILD_IN_PIDNS ;
1212
1212
#endif
1213
- res = val_to_ring (args , (uint64_t )clone_flags_to_scap (val ) | in_pidns , 0 , false, 0 );
1213
+ res = val_to_ring (args , (uint64_t )clone_flags_to_scap (( int ) val ) | in_pidns , 0 , false, 0 );
1214
1214
CHECK_RES (res );
1215
1215
1216
1216
/*
@@ -6330,7 +6330,7 @@ int f_sys_flock_e(struct event_filler_arguments *args)
6330
6330
6331
6331
/* Parameter 2: operation (type: PT_FLAGS32) */
6332
6332
syscall_get_arguments_deprecated (args , 1 , 1 , & val );
6333
- flags = flock_flags_to_scap (val );
6333
+ flags = flock_flags_to_scap (( int ) val );
6334
6334
res = val_to_ring (args , flags , 0 , false, 0 );
6335
6335
CHECK_RES (res );
6336
6336
@@ -6389,7 +6389,7 @@ int f_sys_setns_e(struct event_filler_arguments *args)
6389
6389
6390
6390
/* Parameter 2: nstype (type: PT_FLAGS32) */
6391
6391
syscall_get_arguments_deprecated (args , 1 , 1 , & val );
6392
- res = val_to_ring (args , clone_flags_to_scap (val ), 0 , true, 0 );
6392
+ res = val_to_ring (args , clone_flags_to_scap (( int ) val ), 0 , true, 0 );
6393
6393
CHECK_RES (res );
6394
6394
6395
6395
return add_sentinel (args );
@@ -6427,7 +6427,7 @@ int f_sys_unshare_e(struct event_filler_arguments *args)
6427
6427
* get type, parse as clone flags as it's a subset of it
6428
6428
*/
6429
6429
syscall_get_arguments_deprecated (args , 0 , 1 , & val );
6430
- flags = clone_flags_to_scap (val );
6430
+ flags = clone_flags_to_scap (( int ) val );
6431
6431
res = val_to_ring (args , flags , 0 , true, 0 );
6432
6432
CHECK_RES (res );
6433
6433
0 commit comments