diff options
author | Karl Schultz <kschultz@freedesktop.org> | 2005-12-08 04:34:17 +0000 |
---|---|---|
committer | Karl Schultz <kschultz@freedesktop.org> | 2005-12-08 04:34:17 +0000 |
commit | 59af97420e19ba382e0e9dd46005e0b720e4b2c5 (patch) | |
tree | f8a4c53346452cc96d610fa63aea034827977378 /src/mesa/tnl | |
parent | 0694adaf71d5048b4a3c64b2280f39efe5f0766f (diff) |
use 64-bit typedefs for portability
Diffstat (limited to 'src/mesa/tnl')
-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 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; }; |