[Patches] [Patch #100836] Trivial fix to stop a compiler warning.
Moshe Zadka
Moshe Zadka <moshez@math.huji.ac.il>
Mon, 10 Jul 2000 17:40:05 +0300 (IDT)
On Mon, 10 Jul 2000, Alex Coventry wrote:
>
> Yeah, I think it does mean something: the problem is that the signature
> for chown is int chown(const char *path, uid_t owner, gid_t group), but
> the uid_t and gid_t types are compatible with int's, as far as I can
> tell.
>
> The alternative would be to change the signature for the function
> pointer accepted by posix_strintint. Since posix_strintint is only
> called where I am doing the cast, that might be the better way to go.
Or perhaps lose posix_strintint completely?
--
Moshe Zadka <moshez@math.huji.ac.il>
There is no GOD but Python, and HTTP is its prophet.
http://advogato.org/person/moshez