|
From: | Riccardo Mottola |
Subject: | int vs. void pointer |
Date: | Sun, 05 Jan 2014 20:45:06 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:25.0) Gecko/20100101 Firefox/25.0 SeaMonkey/2.22 |
Hi, in reference to: http://svn.gna.org/viewcvs/gnustep/libs/gui/trunk/Source/GSDisplayServer.m?r1=37026&r2=37533is 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?
Riccardo
[Prev in Thread] | Current Thread | [Next in Thread] |