Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/openpam/dist/lib/libpam Cast enum ...
details: https://anonhg.NetBSD.org/src/rev/9c80651301c8
branches: trunk
changeset: 319097:9c80651301c8
user: joerg <joerg%NetBSD.org@localhost>
date: Wed May 16 13:54:03 2018 +0000
description:
Cast enum explicitly to different type.
diffstat:
external/bsd/openpam/dist/lib/libpam/openpam_configure.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 8d945354df16 -r 9c80651301c8 external/bsd/openpam/dist/lib/libpam/openpam_configure.c
--- a/external/bsd/openpam/dist/lib/libpam/openpam_configure.c Wed May 16 13:53:28 2018 +0000
+++ b/external/bsd/openpam/dist/lib/libpam/openpam_configure.c Wed May 16 13:54:03 2018 +0000
@@ -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 @@
/* 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) {
Home |
Main Index |
Thread Index |
Old Index