[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Gem XServer compile problem



Hello,

cc1: warnings being treated as errors
x_gem.c: In function `wind_set_proc':
x_gem.c:33: warning: passing arg 3 of `mt_wind_set_str' from incompatible pointer type
make: *** [../obj/x_gem.o] Error 1

A cast should solve this.

in src/x_gem.c line 33, replace
	return wind_set_str( WindowHandle, 201, icon);
by:
	return wind_set_str( WindowHandle, 201, (char*)icon);


HTH,
Arnaud.