Mesa (master): util: Fix typo

Tom Stellard tstellar at kemper.freedesktop.org
Mon Jul 28 20:46:38 UTC 2014


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

Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Mon Jul 28 16:40:05 2014 -0400

util: Fix typo

Spotted by okias on IRC.

---

 src/gallium/auxiliary/util/u_math.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/auxiliary/util/u_math.h b/src/gallium/auxiliary/util/u_math.h
index f6dcb22..d956fa1 100644
--- a/src/gallium/auxiliary/util/u_math.h
+++ b/src/gallium/auxiliary/util/u_math.h
@@ -817,7 +817,7 @@ util_memcpy_cpu_to_le32(void * restrict dest, const void * restrict src, size_t
 {
 #ifdef PIPE_ARCH_BIG_ENDIAN
    size_t i, e;
-   asset(n % 4 == 0);
+   assert(n % 4 == 0);
 
    for (i = 0, e = n / 4; i < e; i++) {
       uint32_t * restrict d = (uint32_t* restrict)dest;




More information about the mesa-commit mailing list