| Summary: | Fix compile-time warnings | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Darren Tucker <dtucker> | ||||||
| Component: | Miscellaneous | Assignee: | OpenSSH Bugzilla mailing list <openssh-bugs> | ||||||
| Status: | CLOSED FIXED | ||||||||
| Severity: | trivial | ||||||||
| Priority: | P2 | ||||||||
| Version: | -current | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Attachments: |
|
||||||||
|
Description
Darren Tucker
2005-05-07 16:10:22 AEST
Created attachment 902 [details]
silence warnings in auth-pam.c
Fixes these warnings in auth-pam.c:
warning: dereferencing type-punned pointer will break strict-aliasing rules
warning: passing arg 3 of `pam_get_item' from incompatible pointer type
The type-punned pointer fix is based on a patch from SuSE's rpm.
Created attachment 903 [details]
fix warnings in getrrsetbyname.c on Linux
Fixes these in getrrsetbyname.c, (since glibc has _getshort and _getlong
functions, but doesn't define prototypes for them):
warning: implicit declaration of function `_getshort'
warning: implicit declaration of function `_getlong'
Are these still relevant? Hasn't the PAM one been committed already? (leading to...) can we close this bug? Yes, those are both applied. Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4. |