The Samba-Bugzilla – Bug 4636
Warnings in nsswitch/pam_winbind.c
Last modified: 2007-05-17 16:46:11 UTC
The numerous warnings are of two groups:
1. Overly aggressive const-ness -- the pointer to pam_handle_t* is never const, for example, and pam_get_data's last argument should not be const either.
2. Casting pointers into 32-bit integers for printing -- a problem on 64-bit systems.
The patch I'm about to attach closes all of these warnings by removing const, where needed, and by printing pointers using %p instead of the dubious casting. Please, review.
Created attachment 2703 [details]
silence the warnings on FreeBSD/amd64