Fix: use int rather than off_t for offsets
[librseq.git] / tests / basic_percpu_ops_test.c
index 9b6bc22780d3f10cd3db90e323bbcdfe16cbd065..9aa0d4344b98e678bfb26e14883a9121df3c544d 100644 (file)
@@ -179,8 +179,7 @@ static struct percpu_list_node *this_cpu_list_pop(struct percpu_list *list,
        for (;;) {
                struct percpu_list_node *head;
                intptr_t *targetptr, expectnot, *load;
-               off_t offset;
-               int ret, cpu;
+               int offset, ret, cpu;
 
                cpu = rseq_cpu_start();
                targetptr = (intptr_t *)&list->c[cpu].head;
This page took 0.022898 seconds and 4 git commands to generate.