Use standard C initializer list syntax
Fix clang warning warning: use of GNU old-style field designator extension [-Wgnu-designator]
This commit is contained in:
@@ -49,7 +49,7 @@ again:
|
||||
#endif
|
||||
|
||||
read_error:
|
||||
return (event){type: -1};
|
||||
return (event){.type = -1};
|
||||
}
|
||||
|
||||
#ifdef T_SEND_TIME
|
||||
|
||||
Reference in New Issue
Block a user