Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix incorrect argument type in sscanf
clang -Os -DNDEBUG -std=c11 -DVERSION='"0.2.0-4-g073eced"' -o build/tty-copy.o -c tty-copy.c tty-copy.c:256:13: warning: passing 'uchar [16]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (sscanf(buf, "\033[%d;%dR", &row, &col) != 2) { ^~~ /usr/include/stdio.h:412:60: note: passing argument to parameter '__s' here extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ 1 warning generated. Fixes #3
- Loading branch information