Skip to content

Commit

Permalink
fix type passed to function
Browse files Browse the repository at this point in the history
  • Loading branch information
bendailey committed Dec 2, 2015
1 parent d6b9e14 commit 4c2838b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 4d_statement.c
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ static int pdo_4d_stmt_param_hook(pdo_stmt_t *stmt, struct pdo_bound_param_data
case IS_STRING:
{
FOURD_STRING str;
int len=0;
size_t len=0;
/* MBSTRING_API char * php_mb_convert_encoding(char *input, size_t length, char *_to_encoding, char *_from_encodings, size_t *output_len TSRMLS_DC) */
char* val=php_mb_convert_encoding(Z_STRVAL_P(param->parameter), Z_STRLEN_P(param->parameter),FOURD_CHARSET_SERVEUR,S->charset,&len TSRMLS_CC);
str.length=len/2;
Expand Down

0 comments on commit 4c2838b

Please sign in to comment.