We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8f1cfec + b192841 commit 9c5d172Copy full SHA for 9c5d172
src/builders/module.rs
@@ -56,8 +56,8 @@ impl ModuleBuilder {
56
module: ModuleEntry {
57
size: mem::size_of::<ModuleEntry>() as u16,
58
zend_api: ZEND_MODULE_API_NO,
59
- zend_debug: if PHP_DEBUG { 1 } else { 0 },
60
- zts: if PHP_ZTS { 1 } else { 0 },
+ zend_debug: u8::from(PHP_DEBUG),
+ zts: u8::from(PHP_ZTS),
61
ini_entry: ptr::null(),
62
deps: ptr::null(),
63
name: ptr::null(),
0 commit comments