[Freeciv-Dev] Re: (PR#8591) win32: client crashes on middle click
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=8591 >
Jason Short wrote:
>>Perhaps a wrapper function should be made?
>
>
> Perhaps. But I don't think gui-win32 needs one.
>
> gui-win32/cityrep.c:typedef bool TestCityFunc(struct city *, int);
>
> So just change the int to an Impr_Type_id?
Or maybe I don't know what I'm talking about. In that case a wrapper
might be a good idea. (On some compilers Impr_Type_id may be a 1-byte
value, which could cause big problems without a wrapper. I think.)
jason
|
|