From c029fcde1190052bedc9210d34b170ab08f09478 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ga=C3=ABtan=20Harter?= <gaetan.harter@fu-berlin.de>
Date: Tue, 12 Feb 2019 16:22:44 +0100
Subject: [PATCH] tests/periph_eeprom: fix 'results' type

Results type should only be an array of char, not an array of pointers.
---
 tests/periph_eeprom/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/periph_eeprom/main.c b/tests/periph_eeprom/main.c
index fddd7de8b0..a4793a6abe 100644
--- a/tests/periph_eeprom/main.c
+++ b/tests/periph_eeprom/main.c
@@ -224,7 +224,7 @@ static int cmd_test(int argc, char **argv)
     size_t ret = eeprom_write(0, (uint8_t *)expected, 4);
     assert(ret == 4);
 
-    char *result[4];
+    char result[4];
     ret = eeprom_read(0, (uint8_t *)result, 4);
     assert(strncmp((const char *)result, (const char *)expected, 4) == 0);
     assert(ret == 4);
-- 
GitLab