glsl: fix sizeof(pointer) bug

Doesn't really change anything to the test though ¯\_(ツ)_/¯

CID: 1429511
Fixes: e8495646af "glsl/tests: changes to test_disk_cache_create test"
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
This commit is contained in:
Eric Engestrom
2018-02-15 10:59:24 +00:00
parent 2f5d3df9fc
commit a176b053b6

View File

@@ -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;