From 4144e9abc1fb8420e08e0a5ef48a9ceba7f26661 Mon Sep 17 00:00:00 2001 From: notaz Date: Wed, 4 Feb 2015 00:31:01 +0200 Subject: gpu_unai: fix some 64bit issues --- plugins/gpu_unai/gpu_raster_line.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/gpu_unai/gpu_raster_line.h') diff --git a/plugins/gpu_unai/gpu_raster_line.h b/plugins/gpu_unai/gpu_raster_line.h index 4edfa06..fc59b79 100644 --- a/plugins/gpu_unai/gpu_raster_line.h +++ b/plugins/gpu_unai/gpu_raster_line.h @@ -26,7 +26,7 @@ #define GPU_DIGITS 16 #define GPU_DIGITSC (GPU_DIGITS+3) -INLINE long GPU_DIV(long rs, long rt) +INLINE s32 GPU_DIV(s32 rs, s32 rt) { return rt ? (rs / rt) : (0); } -- cgit v1.2.3