Module Name: src
Committed By: joerg
Date: Wed May 16 13:54:03 UTC 2018
Modified Files:
src/external/bsd/openpam/dist/lib/libpam: openpam_configure.c
Log Message:
Cast enum explicitly to different type.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
src/external/bsd/openpam/dist/lib/libpam/openpam_configure.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/openpam/dist/lib/libpam/openpam_configure.c
diff -u src/external/bsd/openpam/dist/lib/libpam/openpam_configure.c:1.3 src/external/bsd/openpam/dist/lib/libpam/openpam_configure.c:1.4
--- src/external/bsd/openpam/dist/lib/libpam/openpam_configure.c:1.3 Sat May 6 19:50:09 2017
+++ src/external/bsd/openpam/dist/lib/libpam/openpam_configure.c Wed May 16 13:54:03 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: openpam_configure.c,v 1.3 2017/05/06 19:50:09 christos Exp $ */
+/* $NetBSD: openpam_configure.c,v 1.4 2018/05/16 13:54:03 joerg Exp $ */
/*-
* Copyright (c) 2001-2003 Networks Associates Technology, Inc.
@@ -42,7 +42,7 @@
#endif
#include <sys/cdefs.h>
-__RCSID("$NetBSD: openpam_configure.c,v 1.3 2017/05/06 19:50:09 christos Exp $");
+__RCSID("$NetBSD: openpam_configure.c,v 1.4 2018/05/16 13:54:03 joerg Exp $");
#include <sys/param.h>
@@ -262,7 +262,7 @@ openpam_parse_chain(pam_handle_t *pamh,
/* allocate new entry */
if ((this = calloc((size_t)1, sizeof *this)) == NULL)
goto syserr;
- this->flag = ctlf;
+ this->flag = (int)ctlf;
/* load module */
if ((this->module = openpam_load_module(modulename)) == NULL) {