Perform pointer arithmatic with (int *) first then cast just for calling function. plotHP.c:335:25: warning: incompatible pointer types passing 'int *' to parameter of type 'unsigned char *' plotHP.c:339:25: warning: incompatible pointer types passing 'int *' to parameter of type 'unsigned char *' plotHP.c:343:25: warning: incompatible pointer types passing 'int *' to parameter of type 'unsigned char *' clang18 default warning cleanup [-Wincompatible-pointer-types] |
||
|---|---|---|
| .. | ||
| Makefile | ||
| plot.h | ||
| plotCmd.c | ||
| plotGremln.c | ||
| plotHP.c | ||
| plotInt.h | ||
| plotMain.c | ||
| plotPNM.c | ||
| plotPS.c | ||
| plotPixels.c | ||
| plotRutils.c | ||
| plotVers.c | ||
| tclplot.c | ||