From: Karl Schultz Date: Thu, 8 Dec 2005 04:34:17 +0000 (+0000) Subject: use 64-bit typedefs for portability X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=59af97420e19ba382e0e9dd46005e0b720e4b2c5;p=mesa.git use 64-bit typedefs for portability --- diff --git a/src/mesa/tnl/t_vb_arbprogram.c b/src/mesa/tnl/t_vb_arbprogram.c index 38182c1ba1c..2f6efae7965 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 a3cf1d8ca1d..87d5573a443 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; };