On Saturday, April 17, 2004, at 02:36 PM, Ian Lance Taylor wrote:
Use typecasts: chmod ("foo", (mode_t) x);
Thanks. My variable x is mode_t and casting it a second time as mode_t does stop my warning.
Steven
Use typecasts: chmod ("foo", (mode_t) x);
Thanks. My variable x is mode_t and casting it a second time as mode_t does stop my warning.