Fix a conversion warning.
authorFabian Keil <fk@fabiankeil.de>
Sun, 19 Aug 2007 12:32:34 +0000 (12:32 +0000)
committerFabian Keil <fk@fabiankeil.de>
Sun, 19 Aug 2007 12:32:34 +0000 (12:32 +0000)
miscutil.c

index 07ae6e7..6de1571 100644 (file)
@@ -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;