Snippets for quisk 4.2.55 from Fedora i686
Sourced from https://kojipkgs.fedoraproject.org/packages/quisk/4.2.55/1.fc46/data/logs/i686/build.log.
-
quisk.c:630:26: warning: variable ‘out’ set but not used [-Wunused-but-set-variable=] 630 | static int in=0, out=0; | ^~~ -
quisk.c:630:20: warning: variable ‘in’ set but not used [-Wunused-but-set-variable=] 630 | static int in=0, out=0; | ^~ -
quisk.c:798:27: warning: variable ‘avg’ set but not used [-Wunused-but-set-variable=] 798 | double d, d1, d2, avg; | ^~~ -
sound_pulseaudio.c:666:28: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int64_t’ {aka ‘long long int’} [-Wformat=] 666 | printf("read %ld, write %ld, frames %d\n", timing->read_index, timing->write_index, bufferFrames); | ~~^ ~~~~~~~~~~~~~~~~~~ | | | | long int int64_t {aka long long int} | %lld -
sound_pulseaudio.c:666:39: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int64_t’ {aka ‘long long int’} [-Wformat=] 666 | printf("read %ld, write %ld, frames %d\n", timing->read_index, timing->write_index, bufferFrames); | ~~^ ~~~~~~~~~~~~~~~~~~~ | | | | long int int64_t {aka long long int} | %lld -
sound_pulseaudio.c:722:53: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 722 | printf("Truncating write on %s by %lu bytes\n", dev->stream_description, fbuffer_bytes - writable); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int size_t {aka unsigned int} | %u -
sound_pulseaudio.c:729:58: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 729 | printf("Can't write to stream %s. Dropping %lu bytes\n", dev->stream_description, fbuffer_bytes); | ~~^ ~~~~~~~~~~~~~ | | | | long unsigned int size_t {aka unsigned int} | %u -
sound_pulseaudio.c:771:32: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int64_t’ {aka ‘long long int’} [-Wformat=] 771 | printf("read %ld, write %ld, frames %d\n", timing->read_index, timing->write_index, bufferFrames); | ~~^ ~~~~~~~~~~~~~~~~~~ | | | | long int int64_t {aka long long int} | %lld -
sound_pulseaudio.c:771:43: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int64_t’ {aka ‘long long int’} [-Wformat=] 771 | printf("read %ld, write %ld, frames %d\n", timing->read_index, timing->write_index, bufferFrames); | ~~^ ~~~~~~~~~~~~~~~~~~~ | | | | long int int64_t {aka long long int} | %lld -
tci.c:542:53: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 542 | QuiskPrintf("\n\nMSG size %ld length %d\n 0 ", size, pt->length); | ~~^ ~~~~ | | | | long int uint64_t {aka long long unsigned int} | %lld -
tci.c:593:78: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 593 | QuiskPrintf("TCI *TX count %ld %d %d\n", size, count, pt->length); | ~~^ ~~~~ | | | | long int uint64_t {aka long long unsigned int} | %lld -
ws.c:1034:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1034 | p = strstr((const char *)wfd->frm, "\r\n\r\n"); | ^