Mesa (master): llvmpipe: Fix typo in assert.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Wed Jun 2 12:00:40 PDT 2010


Module: Mesa
Branch: master
Commit: 92cbbba7fb5bdf7ba9147dcd5f4d22789889f1e5
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=92cbbba7fb5bdf7ba9147dcd5f4d22789889f1e5

Author: José Fonseca <jfonseca at vmware.com>
Date:   Wed Jun  2 19:59:28 2010 +0100

llvmpipe: Fix typo in assert.

---

 src/gallium/drivers/llvmpipe/lp_bld_interp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/llvmpipe/lp_bld_interp.c b/src/gallium/drivers/llvmpipe/lp_bld_interp.c
index e73733e..957866e 100644
--- a/src/gallium/drivers/llvmpipe/lp_bld_interp.c
+++ b/src/gallium/drivers/llvmpipe/lp_bld_interp.c
@@ -340,7 +340,7 @@ lp_build_interp_soa_init(struct lp_build_interp_soa_context *bld,
    coeff_type.length = QUAD_SIZE;
 
    /* XXX: we don't support interpolating into any other types */
-   assert(memcmp(&coeff_type, &type, sizeof &coeff_type) == 0);
+   assert(memcmp(&coeff_type, &type, sizeof coeff_type) == 0);
 
    lp_build_context_init(&bld->coeff_bld, builder, coeff_type);
 



More information about the mesa-commit mailing list