Changeset 281 in openpam for trunk/lib


Ignore:
Timestamp:
Jul 27, 2004, 12:07:13 PM (15 years ago)
Author:
Dag-Erling Smørgrav
Message:

Remove an unnecessary cast, obviating the need for <stdint.h> which
apparently isn't present on some platforms (e.g. Solaris 8)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/pam_get_data.c

    r277 r281  
    3232 * SUCH DAMAGE.
    3333 *
    34  * $P4: //depot/projects/openpam/lib/pam_get_data.c#13 $
     34 * $P4: //depot/projects/openpam/lib/pam_get_data.c#14 $
    3535 */
    3636
    37 #include <stdint.h>
    3837#include <string.h>
    3938
     
    6160        for (dp = pamh->module_data; dp != NULL; dp = dp->next) {
    6261                if (strcmp(dp->name, module_data_name) == 0) {
    63                         *data = (void *)(intptr_t)dp->data;
     62                        *data = (void *)dp->data;
    6463                        RETURNC(PAM_SUCCESS);
    6564                }
Note: See TracChangeset for help on using the changeset viewer.