[Debian-lego-team] Bug#1129138: Bug#1129138: nxt-firmware: FTBFS: ./src/c_cmd.c:1447:36: error: initialization of 'void (*)(ULONG, ULONG)' {aka 'void (*)(long unsigned int, long unsigned int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types]

Petter Reinholdtsen pere at hungry.com
Fri Feb 27 16:17:16 GMT 2026


[Santiago Vila]
> ./src/c_cmd.c: In function 'cCmdReadFileHeader':
> ./src/c_cmd.c:1447:36: error: initialization of 'void (*)(ULONG,  ULONG)' {aka 'void (*)(long unsigned int,  long unsigned int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types]
>  1447 |     void (*native)(ULONG, ULONG) = (void (*)())(pData + NativeOffset);
>       |                                    ^

Look like a simple fix, replace () with (ULONG, ULONG).

-- 
Happy hacking
Petter Reinholdtsen



More information about the Debian-lego-team mailing list