Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

quick patch to phpembed

Summary: some testing changes I made snuck into my last checkin

Reviewed By: mathewsb

Test Plan: ran the example, usage, and test programs without incident

git-svn-id: svn+ssh://tubbs/svnroot/projects/phpembed/trunk@191325 2c7ba8d8-a2f7-0310-a573-de162e16dcc7
  • Loading branch information...
1 parent 5776a7a commit 3eaca5e544ea9e2f9a4f92bb4604cf542aa57ac4 boz committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/php_arr.cpp
4 src/php_arr.cpp
@@ -156,9 +156,9 @@ void php_array::add_assoc(char *argspec, va_list ap){
char *arg = va_arg(ap, char *);
if(even) {
key = arg;
- key_len = va_arg(ap, long);
+ key_len = va_arg(ap, unsigned int);
} else {
- long str_len = va_arg(ap, long);
+ unsigned int str_len = va_arg(ap, unsigned int);
add_assoc_stringl_ex(array, realKey, key_len, arg, str_len, true);

0 comments on commit 3eaca5e

Please sign in to comment.
Something went wrong with that request. Please try again.