use 64-bit typedefs for portability
authorKarl Schultz <kschultz@freedesktop.org>
Thu, 8 Dec 2005 04:34:17 +0000 (04:34 +0000)
committerKarl Schultz <kschultz@freedesktop.org>
Thu, 8 Dec 2005 04:34:17 +0000 (04:34 +0000)
src/mesa/tnl/t_vb_arbprogram.c
src/mesa/tnl/t_vb_arbprogram.h

index 38182c1ba1ce493c769ba501895f68c842c1b4ee..2f6efae7965ad85fa7bdc7575dd4bf1d4d5798ee 100644 (file)
@@ -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.
     */
index a3cf1d8ca1d801ea3787822fc531bdcfe82e04ca..87d5573a4432b92b5cfbc1875b3dd43187091fda 100644 (file)
@@ -111,7 +111,7 @@ union instruction {
       GLuint pad2;
    } msk;
 
-   long long dword;
+   MESA_LONGLONG dword;
 };