[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: int vs. void pointer
From: |
Niels Grewe |
Subject: |
Re: int vs. void pointer |
Date: |
Sun, 5 Jan 2014 22:47:36 +0000 |
Am 05.01.2014 um 20:45 schrieb Riccardo Mottola <address@hidden>:
> Hi,
>
> in reference to:
> http://svn.gna.org/viewcvs/gnustep/libs/gui/trunk/Source/GSDisplayServer.m?r1=37026&r2=37533
>
> is it correct to get an int and return it as a void* ? I get a warning there.
> I suppose int goes to void, not a pointer. perhaps the method shold accept a
> void* as a win?
Fred already mentioned to me that I probably missed something when I added that
method, I think I’ll be rolling it back soon.
Cheers,
Niels