From 070b0a582cf5c7d4f5107434211d43726239bf6c Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Sun, 19 Aug 2007 12:32:34 +0000 Subject: [PATCH] Fix a conversion warning. --- miscutil.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/miscutil.c b/miscutil.c index 07ae6e7f..6de15715 100644 --- a/miscutil.c +++ b/miscutil.c @@ -1,4 +1,4 @@ -const char miscutil_rcs[] = "$Id: miscutil.c,v 1.50 2007/06/10 14:59:59 fabiankeil Exp $"; +const char miscutil_rcs[] = "$Id: miscutil.c,v 1.51 2007/06/17 16:12:22 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/miscutil.c,v $ @@ -44,6 +44,10 @@ const char miscutil_rcs[] = "$Id: miscutil.c,v 1.50 2007/06/10 14:59:59 fabianke * * Revisions : * $Log: miscutil.c,v $ + * Revision 1.51 2007/06/17 16:12:22 fabiankeil + * #ifdef _WIN32 the last commit. According to David Shaw, + * one of the gnupg developers, the changes are mingw32-specific. + * * Revision 1.50 2007/06/10 14:59:59 fabiankeil * Change replacement timegm() to better match our style, plug a small * but guaranteed memory leak and fix "time zone breathing" on mingw32. @@ -760,7 +764,7 @@ char *string_toupper(const char *string) while (*q != '\0') { - *p++ = toupper((int) *q++); + *p++ = (char)toupper((int) *q++); } return result; -- 2.39.2