From 8c04e598c1c0e6a604ced990da94c9bcb9b5a913 Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Fri, 22 Feb 2008 10:55:10 +0000 Subject: [PATCH] Fixed 64-bit compiler warning SVN revision: 2057 --- src/elog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/elog.c b/src/elog.c index cc5727a9..d2f7952d 100755 --- a/src/elog.c +++ b/src/elog.c @@ -271,7 +271,7 @@ void convert_crlf(char *buffer, int bufsize) p = buffer; while ((p = strstr(p, "\\n")) != NULL) { - if ((int) p - (int) buffer < bufsize - 2) { + if (p - buffer < bufsize - 2) { *(p++) = '\r'; *(p++) = '\n'; }