X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=lib%2Fflex_proportions.c;h=ebf3bac460b01c3638e87d23975426f448d58064;hb=e97a72ece87ace539de7da25fa5d3327e728042b;hp=c785554f95237897edc7e86f7c3ea6f1811b9bbf;hpb=db8c246937713e60b7628661ccc187eeb81f2bae;p=karo-tx-linux.git diff --git a/lib/flex_proportions.c b/lib/flex_proportions.c index c785554f9523..ebf3bac460b0 100644 --- a/lib/flex_proportions.c +++ b/lib/flex_proportions.c @@ -62,7 +62,7 @@ void fprop_global_destroy(struct fprop_global *p) */ bool fprop_new_period(struct fprop_global *p, int periods) { - u64 events; + s64 events; unsigned long flags; local_irq_save(flags);