You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by iv...@apache.org on 2011/03/08 09:47:12 UTC
svn commit: r1079297 - /subversion/trunk/subversion/svn/util.c
Author: ivan
Date: Tue Mar 8 08:47:12 2011
New Revision: 1079297
URL: http://svn.apache.org/viewvc?rev=1079297&view=rev
Log:
Fix compiler warning.
* subversion/svn/util.c
(svn_cl__get_log_message): Change local variable type to int instead of
char because apr_tolower() returns int.
Modified:
subversion/trunk/subversion/svn/util.c
Modified: subversion/trunk/subversion/svn/util.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svn/util.c?rev=1079297&r1=1079296&r2=1079297&view=diff
==============================================================================
--- subversion/trunk/subversion/svn/util.c (original)
+++ subversion/trunk/subversion/svn/util.c Tue Mar 8 08:47:12 2011
@@ -856,7 +856,7 @@ svn_cl__get_log_message(const char **log
"(a)bort, (c)ontinue, (e)dit:\n"), NULL, pool));
if (reply)
{
- char letter = apr_tolower(reply[0]);
+ int letter = apr_tolower(reply[0]);
/* If the user chooses to abort, we cleanup the
temporary file and exit the loop with a NULL