We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77ab77f commit 1770ae6Copy full SHA for 1770ae6
win32/registry.c
@@ -27,8 +27,8 @@ static int OpenPhpRegistryKey(char* sub_key, HKEY *hKey)
27
const char **key_name = registry_keys;
28
29
if (sub_key) {
30
- int main_key_len;
31
- int sub_key_len = strlen(sub_key);
+ size_t main_key_len;
+ size_t sub_key_len = strlen(sub_key);
32
char *reg_key;
33
34
while (*key_name) {
@@ -235,7 +235,6 @@ void UpdateIniFromRegistry(char *path TSRMLS_DC)
235
}
236
zend_str_tolower(path, path_len);
237
while (path_len >= 0) {
238
- ZEND_API zval *zend_hash_str_find(const HashTable *ht, const char *key, int len);
239
pht = (HashTable *)zend_hash_str_find_ptr(PW32G(registry_directories), path, path_len+1);
240
if (pht != NULL) {
241
HashTable *ht = pht;
0 commit comments