diff options
author | Eric Engestrom <[email protected]> | 2018-02-15 10:59:24 +0000 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2018-02-16 12:04:29 +0000 |
commit | a176b053b6f956db14becd981795e3adad969a13 (patch) | |
tree | 736d45d87b000e2e65f4ffddd4375a70f79a7bce /src | |
parent | 2f5d3df9fcb7e5576952791762c1c0c7d8266acd (diff) |
glsl: fix sizeof(pointer) bug
Doesn't really change anything to the test though ¯\_(ツ)_/¯
CID: 1429511
Fixes: e8495646afb06a9dd7786 "glsl/tests: changes to test_disk_cache_create test"
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/glsl/tests/cache_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/tests/cache_test.c b/src/compiler/glsl/tests/cache_test.c index 3edd88b06a1..9d7bde2834c 100644 --- a/src/compiler/glsl/tests/cache_test.c +++ b/src/compiler/glsl/tests/cache_test.c @@ -186,7 +186,7 @@ static void * cache_exists(struct disk_cache *cache) { uint8_t dummy_key[20]; - char *data = "some test data"; + char data[] = "some test data"; if (!cache) return NULL; |