llvmpipe: Fix typo in assert.
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 2 Jun 2010 18:59:28 +0000 (19:59 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 2 Jun 2010 19:00:30 +0000 (20:00 +0100)
src/gallium/drivers/llvmpipe/lp_bld_interp.c

index e73733e51c472181a67e488f6b013ceaa5c93d41..957866e489cf11f5205534f0d01e30ad0bddca21 100644 (file)
@@ -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);