diff --git a/kernel/bpf/helpers.c b/kernel/bpf/helpers.c index 31e3a5482..084ac7e42 100755 --- a/kernel/bpf/helpers.c +++ b/kernel/bpf/helpers.c @@ -497,7 +497,7 @@ static int __bpf_strtoll(const char *buf, size_t buf_len, u64 flags, } BPF_CALL_4(bpf_strtol, const char *, buf, size_t, buf_len, u64, flags, - s64 *, res) + long *, res) { long long _res; int err; @@ -522,7 +522,7 @@ const struct bpf_func_proto bpf_strtol_proto = { }; BPF_CALL_4(bpf_strtoul, const char *, buf, size_t, buf_len, u64, flags, - u64 *, res) + unsigned long *, res) { unsigned long long _res; bool is_negative;