diff --git a/[refs] b/[refs] index 34c886ecb427..5c5dc657fcb5 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0ca56b4bb24e01158cb5d87adafa4b76da1f044d +refs/heads/master: f52e0ef47b22c18ff56f6233f814b329cb6e32cc diff --git a/trunk/drivers/i2c/chips/ds1682.c b/trunk/drivers/i2c/chips/ds1682.c index 5879f0f25495..9e94542c18a2 100644 --- a/trunk/drivers/i2c/chips/ds1682.c +++ b/trunk/drivers/i2c/chips/ds1682.c @@ -75,7 +75,8 @@ static ssize_t ds1682_show(struct device *dev, struct device_attribute *attr, /* Special case: the 32 bit regs are time values with 1/4s * resolution, scale them up to milliseconds */ if (sattr->nr == 4) - return sprintf(buf, "%llu\n", ((u64) le32_to_cpu(val)) * 250); + return sprintf(buf, "%llu\n", + ((unsigned long long)le32_to_cpu(val)) * 250); /* Format the output string and return # of bytes */ return sprintf(buf, "%li\n", (long)le32_to_cpu(val));