diff options
author | Alan Hourihane <alanh@tungstengraphics.com> | 2004-06-02 12:33:19 +0000 |
---|---|---|
committer | Alan Hourihane <alanh@tungstengraphics.com> | 2004-06-02 12:33:19 +0000 |
commit | 80704437d6253bc203040b95ff38e7ce01e2b570 (patch) | |
tree | a13874c58bb18f55356f5a469f0bb8a3036fc4b6 | |
parent | 38cb3b5c84ea73469e45b0bec99923a285b0f4ac (diff) |
pull a compile warning fix from the trunk
-rw-r--r-- | src/mesa/main/api_arrayelt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/api_arrayelt.c b/src/mesa/main/api_arrayelt.c index f42854a4db..b375828d03 100644 --- a/src/mesa/main/api_arrayelt.c +++ b/src/mesa/main/api_arrayelt.c @@ -791,7 +791,7 @@ void GLAPIENTRY _ae_loopback_array_elt( GLint elt ) /* generic attributes */ for (at = actx->attribs; at->func; at++) { const GLubyte *src = at->array->BufferObj->Data - + (GLuint) at->array->Ptr + + (unsigned long) at->array->Ptr + elt * at->array->StrideB; at->func( at->index, src ); } @@ -799,7 +799,7 @@ void GLAPIENTRY _ae_loopback_array_elt( GLint elt ) /* conventional arrays */ for (aa = actx->arrays; aa->func ; aa++) { const GLubyte *src = aa->array->BufferObj->Data - + (GLuint) aa->array->Ptr + + (unsigned long) aa->array->Ptr + elt * aa->array->StrideB; aa->func( src ); } |