[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: signature warnings on OSF/1 5.1
From: |
Simon Josefsson |
Subject: |
Re: signature warnings on OSF/1 5.1 |
Date: |
Mon, 20 Dec 2010 12:31:43 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) |
Bruno Haible <address@hidden> writes:
> * test-gethostname.c:24: warning: initialization from incompatible pointer
> type
> Similarly:
> - POSIX: int gethostname(char *, size_t);
> - OSF/1: int gethostname(char *, int);
>
> Likewise.
>
> * test-inet_ntop.c:24: warning: initialization from incompatible pointer type
> Similarly:
> - POSIX: const char *inet_ntop(int, const void *, char *, socklen_t);
> - OSF/1: const char *inet_ntop(int, const void *, char *, size_t);
>
> Likewise.
Couldn't this lead to crashes on 64-bit systems? Or aren't there any
64-bit OSF/1 systems? I'm not familiar with OSF/1.
/Simon