Fix SkIntToScalar signature for 64-bit build

Review URL: https://codereview.appspot.com/6443147

git-svn-id: http://skia.googlecode.com/svn/trunk@5156 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
borenet@google.com 2012-08-17 20:32:29 +00:00
parent ca8af884bb
commit a448cb05f0

View File

@ -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 */) {