swap_muldiv64.cocci (273B)
1// replace muldiv64(i32, i64, x) by muldiv64(i64, i32, x) 2@@ 3typedef uint64_t; 4typedef int64_t; 5typedef uint32_t; 6typedef int32_t; 7{ uint32_t, int32_t, int, unsigned int } a; 8{ uint64_t, int64_t, long, unsigned long } b; 9expression c; 10@@ 11 12-muldiv64(a,b,c) 13+muldiv64(b,a,c)