Created
March 14, 2016 10:29
-
-
Save tony2001/4cbd6b93caeb676e9e07 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/excel.c b/excel.c | |
index bb4274c..a059884 100644 | |
--- a/excel.c | |
+++ b/excel.c | |
@@ -1123,7 +1123,7 @@ EXCEL_METHOD(Book, __construct) | |
BookHandle book; | |
zval *object = getThis(); | |
char *name = NULL, *key; | |
- int name_len = 0, key_len = 0; | |
+ size_t name_len = 0, key_len = 0; | |
zend_bool new_excel = 0; | |
if (zend_parse_parameters(ZEND_NUM_ARGS(), "|ssb", &name, &name_len, &key, &key_len, &new_excel) == FAILURE) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment