diff options
author | Karl Schultz <[email protected]> | 2005-12-08 04:34:17 +0000 |
---|---|---|
committer | Karl Schultz <[email protected]> | 2005-12-08 04:34:17 +0000 |
commit | 59af97420e19ba382e0e9dd46005e0b720e4b2c5 (patch) | |
tree | f8a4c53346452cc96d610fa63aea034827977378 | |
parent | 0694adaf71d5048b4a3c64b2280f39efe5f0766f (diff) |
use 64-bit typedefs for portability
-rw-r--r-- | src/mesa/tnl/t_vb_arbprogram.c | 2 | ||||
-rw-r--r-- | 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 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; }; |