Bug#1099179: komposter: FTBFS on amd64: patch.c:575:11: error: assignment to ‘unsigned int *’ from incompatible pointer type ‘long unsigned int *’ [-Wincompatible-pointer-types]
Source: komposter
Version: 0+git20201216+ds-6
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: debian-amd64@lists.debian.org, sramacher@debian.org
User: debian-amd64@lists.debian.org
Usertags: amd64
https://buildd.debian.org/status/fetch.php?pkg=komposter&arch=amd64&ver=0%2Bgit20201216%2Bds-6&stamp=1740663145&raw=0
patch.c:574:42: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
574 | rf=knob_scale2float(mod[csynth][mi].scale, rf);
| ~~~~~~~~~~~~~~~^~~~~~
patch.c:575:11: error: assignment to ‘unsigned int *’ from incompatible pointer type ‘long unsigned int *’ [-Wincompatible-pointer-types]
575 | fptr=(unsigned long*)(&rf);
| ^
patch.c:579:41: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
579 | f=knob_float2scale(mod[csynth][mi].scale, rf);
| ~~~~~~~~~~~~~~~^~~~~~
Cheers
--
Sebastian Ramacher
Reply to: