]> granicus.if.org Git - esp-idf/commitdiff
fix the bug that in mdns test code redefine esp_err_t to uint32_t, which should be...
authorjack <jack@espressif.com>
Wed, 25 Apr 2018 12:52:38 +0000 (20:52 +0800)
committerjack <jack@espressif.com>
Wed, 25 Apr 2018 13:05:21 +0000 (21:05 +0800)
components/mdns/test_afl_fuzz_host/esp32_compat.h

index d6a913a3c46be88b1db5ceacae7be9c6823bc60a..fd21b23657a88c6ba0a47628f79960311ad27f9d 100644 (file)
@@ -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;