From 259d3fc609c82b698f65a6a6d1fb5c358f9cbe18 Mon Sep 17 00:00:00 2001 From: jack Date: Wed, 25 Apr 2018 20:52:38 +0800 Subject: [PATCH] fix the bug that in mdns test code redefine esp_err_t to uint32_t, which should be int32_t * Original commit: espressif/esp-idf@81e4cad61593cde879a5c44a08060d9d336e5a3f --- components/mdns/test_afl_fuzz_host/esp32_compat.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/mdns/test_afl_fuzz_host/esp32_compat.h b/components/mdns/test_afl_fuzz_host/esp32_compat.h index d6a913a3c..fd21b2365 100644 --- a/components/mdns/test_afl_fuzz_host/esp32_compat.h +++ b/components/mdns/test_afl_fuzz_host/esp32_compat.h @@ -67,8 +67,7 @@ ((uint32_t)((c) & 0xff) << 16) | \ ((uint32_t)((b) & 0xff) << 8) | \ (uint32_t)((a) & 0xff) - -typedef uint32_t esp_err_t; +typedef int32_t esp_err_t; typedef void * xSemaphoreHandle; typedef void * xQueueHandle;