Snippets for actkbd 0.2.8 from Nix x86_64-linux
Sourced from https://hydra.nixos.org/log/mvjxsn5g8m0p69kkqryqg6qbgslq3dk8-actkbd-0.2.8.drv.
-
actkbd.c:384:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 384 | tmp = (int)(attr->opt); | ^ -
actkbd.c:394:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 394 | tmp = (((int)(attr->opt)) >= 0)?(int)(attr->opt):key; | ^ -
actkbd.c:394:57: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 394 | tmp = (((int)(attr->opt)) >= 0)?(int)(attr->opt):key; | ^ -
actkbd.c:400:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 400 | snprintf(opt, 32, "%i", (int)(attr->opt)); | ^ -
actkbd.c:401:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 401 | set_led((int)(attr->opt), 1); | ^ -
actkbd.c:405:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 405 | snprintf(opt, 32, "%i", (int)(attr->opt)); | ^ -
actkbd.c:406:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 406 | set_led((int)(attr->opt), 0); | ^ -
actkbd.c:414:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 414 | tmp = (((int)(attr->opt)) >= 0)?(int)(attr->opt):key; | ^ -
actkbd.c:414:53: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 414 | tmp = (((int)(attr->opt)) >= 0)?(int)(attr->opt):key; | ^ -
config.c:177:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 177 | opt = (void *)((int)strtol(num, (char **)NULL, 10)); | ^ -
config.c:182:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 182 | if (((int)opt < 0) && | ^ -
config.c:340:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 340 | snprintf(opt, 32, "key(%i)", (int)(attr->opt)); | ^ -
config.c:343:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 343 | snprintf(opt, 32, "rel(%i)", (int)(attr->opt)); | ^ -
config.c:346:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 346 | snprintf(opt, 32, "rep(%i)", (int)(attr->opt)); | ^ -
config.c:349:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 349 | snprintf(opt, 32, "set(%i)", (int)(attr->opt)); | ^ -
config.c:352:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 352 | snprintf(opt, 32, "unset(%i)", (int)(attr->opt)); | ^ -
config.c:355:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 355 | snprintf(opt, 32, "ledon(%i)", (int)(attr->opt)); | ^ -
config.c:358:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 358 | snprintf(opt, 32, "ledoff(%i)", (int)(attr->opt)); | ^ -
linux.c:47:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | fscanf(fp, "%*s\n"); | ^~~~~~~~~~~~~~~~~~~