From 59af97420e19ba382e0e9dd46005e0b720e4b2c5 Mon Sep 17 00:00:00 2001 From: Karl Schultz Date: Thu, 8 Dec 2005 04:34:17 +0000 Subject: use 64-bit typedefs for portability --- src/mesa/tnl/t_vb_arbprogram.c | 2 +- src/mesa/tnl/t_vb_arbprogram.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/tnl/t_vb_arbprogram.c b/src/mesa/tnl/t_vb_arbprogram.c index 38182c1ba1..2f6efae796 100644 --- a/src/mesa/tnl/t_vb_arbprogram.c +++ b/src/mesa/tnl/t_vb_arbprogram.c @@ -955,7 +955,7 @@ static void cvp_emit_inst( struct compilation *cp, struct reg reg[3]; GLuint result, nr_args, i; - assert(sizeof(*op) == sizeof(long long)); + assert(sizeof(*op) == sizeof(MESA_LONGLONG)); /* Need to handle SWZ, ARL specially. */ diff --git a/src/mesa/tnl/t_vb_arbprogram.h b/src/mesa/tnl/t_vb_arbprogram.h index a3cf1d8ca1..87d5573a44 100644 --- a/src/mesa/tnl/t_vb_arbprogram.h +++ b/src/mesa/tnl/t_vb_arbprogram.h @@ -111,7 +111,7 @@ union instruction { GLuint pad2; } msk; - long long dword; + MESA_LONGLONG dword; }; -- cgit v1.2.3