Showing the changes to avserver.c (1 of 18 files). Show all
Unified · Split
| @@ -1865,7 +1865,7 @@ static int http_parse_request(HTTPContext *c) · 1864 unmodified lines | ||
| 1865 | 1865 | |
| 1866 | 1866 | static void fmt_bytecount(AVIOContext *pb, int64_t count) |
| 1867 | 1867 | { |
| 1868 | − static const char *suffix = " kMGTP"; | |
| 1868 | + static const char suffix[] = " kMGTP"; | |
| 1869 | 1869 | const char *s; |
| 1870 | 1870 | |
| 1871 | 1871 | for (s = suffix; count >= 100000 && s[1]; count /= 1000, s++); |