From a4a2068b9e1d0edf973487280a0ab33a15896f57 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Mon, 29 May 2000 16:52:24 +0000 Subject: [PATCH] (login_conf_get_string): extra cast to kill a warning git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8302 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/login/conf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appl/login/conf.c b/appl/login/conf.c index 7c0906a4a..5cccf684f 100644 --- a/appl/login/conf.c +++ b/appl/login/conf.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999 Kungliga Tekniska Högskolan + * Copyright (c) 1999 - 2000 Kungliga Tekniska Högskolan * (Royal Institute of Technology, Stockholm, Sweden). * All rights reserved. * @@ -49,7 +49,7 @@ login_conf_get_string(const char *str) char *value; if(login_conf_init() != 0) return NULL; - if(cgetstr(confbuf, str, &value) < 0) + if(cgetstr(confbuf, (char *)str, &value) < 0) return NULL; return value; }