summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-10-11 12:09:02 -0700
committerJason Ekstrand <[email protected]>2017-10-12 21:47:06 -0700
commit4d56ff0a714adfd763149ce98e3fa7437e14abac (patch)
treed030c08874cac33a3facc41f85f2604398348727 /src/compiler/glsl
parent3af1c829891a4530682bce113fdd512d4f2de3c6 (diff)
compiler/blob: Constify the reader
Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/compiler/glsl')
-rw-r--r--src/compiler/glsl/tests/blob_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/tests/blob_test.c b/src/compiler/glsl/tests/blob_test.c
index 0b4955b6b68..1cc97236e7e 100644
--- a/src/compiler/glsl/tests/blob_test.c
+++ b/src/compiler/glsl/tests/blob_test.c
@@ -83,7 +83,7 @@ expect_equal_str(const char *expected, const char *actual, const char *test)
}
static void
-expect_equal_bytes(uint8_t *expected, uint8_t *actual,
+expect_equal_bytes(uint8_t *expected, const uint8_t *actual,
size_t num_bytes, const char *test)
{
size_t i;