Author: svn-role
Date: Fri Nov 22 07:56:17 2024
New Revision: 1922009

URL: http://svn.apache.org/viewvc?rev=1922009&view=rev
Log:
Merge r1921264 from trunk:

 * r1921264
   swig-rb: Fix warnings on printf-format for the size_t argument.
   Justification:
     Avoid possibly crash due to the incorrect format.
   Votes:
     +1: jun66j5, dsahlberg

Modified:
    subversion/branches/1.14.x/   (props changed)
    subversion/branches/1.14.x/STATUS
    subversion/branches/1.14.x/subversion/bindings/swig/include/svn_types.swg

Propchange: subversion/branches/1.14.x/
------------------------------------------------------------------------------
  Merged /subversion/trunk:r1921264

Modified: subversion/branches/1.14.x/STATUS
URL: 
http://svn.apache.org/viewvc/subversion/branches/1.14.x/STATUS?rev=1922009&r1=1922008&r2=1922009&view=diff
==============================================================================
--- subversion/branches/1.14.x/STATUS (original)
+++ subversion/branches/1.14.x/STATUS Fri Nov 22 07:56:17 2024
@@ -42,10 +42,3 @@ Veto-blocked changes:
 
 Approved changes:
 =================
-
- * r1921264
-   swig-rb: Fix warnings on printf-format for the size_t argument.
-   Justification:
-     Avoid possibly crash due to the incorrect format.
-   Votes:
-     +1: jun66j5, dsahlberg

Modified: 
subversion/branches/1.14.x/subversion/bindings/swig/include/svn_types.swg
URL: 
http://svn.apache.org/viewvc/subversion/branches/1.14.x/subversion/bindings/swig/include/svn_types.swg?rev=1922009&r1=1922008&r2=1922009&view=diff
==============================================================================
--- subversion/branches/1.14.x/subversion/bindings/swig/include/svn_types.swg 
(original)
+++ subversion/branches/1.14.x/subversion/bindings/swig/include/svn_types.swg 
Fri Nov 22 07:56:17 2024
@@ -1243,7 +1243,7 @@ svn_ ## TYPE ## _swig_rb_closed(VALUE se
   if (NIL_P($input)) {
     $1 = NULL;
   } else if (RSTRING_LEN($input) != APR_MD5_DIGESTSIZE) {
-    rb_raise(rb_eArgError, "digest size (%d) must be %d",
+    rb_raise(rb_eArgError, "digest size (%" PRIuSIZE ") must be %d",
              RSTRING_LEN($input), APR_MD5_DIGESTSIZE);
   } else {
     $1 = ($1_ltype)StringValuePtr($input);


Reply via email to