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:
@@ -104,7 +104,7 @@ err:
|
||||
fd = open(file, O_RDONLY);
|
||||
if (fd == -1) { perror(file); exit(1); }
|
||||
|
||||
OBUF ebuf = { osize: 0, omaxsize: 0, obuf: NULL };
|
||||
OBUF ebuf = {.osize = 0, .omaxsize = 0, .obuf = NULL};
|
||||
|
||||
/* get wanted frame/subframe */
|
||||
while (1) {
|
||||
|
||||
Reference in New Issue
Block a user