You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ja...@apache.org on 2022/01/20 21:28:18 UTC

svn commit: r1897271 - /httpd/httpd/trunk/modules/filters/regexp.h

Author: jailletc36
Date: Thu Jan 20 21:28:17 2022
New Revision: 1897271

URL: http://svn.apache.org/viewvc?rev=1897271&view=rev
Log:
SEDERR_TMAMES and SEDERR_TMRMES are used only in sed1.c with 'eval->lnum' as an argument.

'eval' is of type 'struct sed_eval_s' and 'lnum' is an apr_int64_t.

So use APR_INT64_T_FMT format specifier to be more consistent.

Modified:
    httpd/httpd/trunk/modules/filters/regexp.h

Modified: httpd/httpd/trunk/modules/filters/regexp.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/filters/regexp.h?rev=1897271&r1=1897270&r2=1897271&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/filters/regexp.h (original)
+++ httpd/httpd/trunk/modules/filters/regexp.h Thu Jan 20 21:28:17 2022
@@ -93,8 +93,8 @@ extern void command_errf(sed_commands_t
 #define SEDERR_COMES "cannot open %s"
 #define SEDERR_CCMES "cannot create %s"
 #define SEDERR_TMLNMES "too many line numbers"
-#define SEDERR_TMAMES "too many appends after line %lld"
-#define SEDERR_TMRMES "too many reads after line %lld"
+#define SEDERR_TMAMES "too many appends after line %" APR_INT64_T_FMT
+#define SEDERR_TMRMES "too many reads after line %" APR_INT64_T_FMT
 #define SEDERR_DOORNG "``\\digit'' out of range: %s"
 #define SEDERR_EDMOSUB "ending delimiter missing on substitution: %s"
 #define SEDERR_EDMOSTR "ending delimiter missing on string: %s"