From 11e7e267f7bad62cb931b37961ce5fd7a0d63a2a Mon Sep 17 00:00:00 2001 From: Milan Broz Date: Fri, 5 Feb 2021 12:40:18 +0100 Subject: [PATCH] Use ISO C compatible __typeof__. As used already in the same header abeve and to fix ridiculous warnings in static analysis. --- lib/internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal.h b/lib/internal.h index 917cf8e6..10066ae3 100644 --- a/lib/internal.h +++ b/lib/internal.h @@ -73,7 +73,7 @@ #define MOVE_REF(x, y) \ do { \ - typeof (x) *_px = &(x), *_py = &(y); \ + __typeof__(x) *_px = &(x), *_py = &(y); \ *_px = *_py; \ *_py = NULL; \ } while (0)