diff --git a/include/core/SkScalar.h b/include/core/SkScalar.h index ed419689d8..a850cc61cd 100644 --- a/include/core/SkScalar.h +++ b/include/core/SkScalar.h @@ -85,10 +85,10 @@ static inline float SkIntToScalar(unsigned int param) { return (float)param; } - static inline float SkIntToScalar(signed long param) { + static inline float SkIntToScalar(int64_t param) { return (float)param; } - static inline float SkIntToScalar(unsigned long param) { + static inline float SkIntToScalar(uint64_t param) { return (float)param; } static inline float SkIntToScalar(float /* param */) {