php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login

Patch simplestring-size_t for XMLRPC-EPI related Bug #73349

Patch version 2016-10-19 15:03 UTC

Return to Bug #73349 | Download this patch
Patch Revisions:

Developer: krakjoe@php.net

diff --git a/ext/xmlrpc/libxmlrpc/simplestring.h b/ext/xmlrpc/libxmlrpc/simplestring.h
index b46b0d7..d55ddfa 100644
--- a/ext/xmlrpc/libxmlrpc/simplestring.h
+++ b/ext/xmlrpc/libxmlrpc/simplestring.h
@@ -50,8 +50,8 @@ extern "C" {
  */
 typedef struct _simplestring {
    char* str;         /* string buf               */
-   int len;           /* length of string/buf     */
-   int size;          /* size of allocated buffer */
+   size_t len;        /* length of string/buf     */
+   size_t size;       /* size of allocated buffer */
 } simplestring;
 /******/
 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 05:01:30 2024 UTC