Skip to content

Commit 7198dab

Browse files
committed
- silent warning
1 parent b9d8fec commit 7198dab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

php_fastlz.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ PHP_FUNCTION(fastlz_compress)
162162
return;
163163
}
164164

165-
compressed_len = sizeof(uint32_t) + ((value_len*1.05) + 1);
165+
compressed_len = sizeof(uint32_t) + (uint32_t)((value_len*1.05) + 1);
166166

167167
compressed = emalloc(compressed_len);
168168

0 commit comments

Comments
 (0)