aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--include/gpu/GrTypes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gpu/GrTypes.h b/include/gpu/GrTypes.h
index 6888f5c33b..f084427e6f 100644
--- a/include/gpu/GrTypes.h
+++ b/include/gpu/GrTypes.h
@@ -115,7 +115,7 @@ static inline size_t GrSizeAlignUpPad(size_t x, size_t alignment) {
static inline uint32_t GrUIAlignDown(uint32_t x, uint32_t alignment) {
return (x / alignment) * alignment;
}
-static inline uint32_t GrSizeAlignDown(size_t x, uint32_t alignment) {
+static inline size_t GrSizeAlignDown(size_t x, uint32_t alignment) {
return (x / alignment) * alignment;
}