mirror of
https://github.com/php/php-src.git
synced 2025-08-18 23:18:56 +02:00
Fix typo
This commit is contained in:
parent
e4757ecc80
commit
a760c79f1e
1 changed files with 2 additions and 2 deletions
|
@ -6100,7 +6100,7 @@ void zend_ffi_add_attribute_value(zend_ffi_dcl *dcl, const char *name, size_t na
|
|||
&& val->i64 > 0 && val->i64 <= 0x80000000 && (val->i64 & (val->i64 - 1)) == 0) {
|
||||
dcl->align = val->i64;
|
||||
} else {
|
||||
zend_ffi_parser_error("incorrect 'alignemnt' value at line %d", FFI_G(line));
|
||||
zend_ffi_parser_error("incorrect 'alignment' value at line %d", FFI_G(line));
|
||||
}
|
||||
break;
|
||||
case attr_mode:
|
||||
|
@ -6176,7 +6176,7 @@ void zend_ffi_add_msvc_attribute_value(zend_ffi_dcl *dcl, const char *name, size
|
|||
&& val->i64 > 0 && val->i64 <= 0x80000000 && (val->i64 & (val->i64 - 1)) == 0) {
|
||||
dcl->align = val->i64;
|
||||
} else {
|
||||
zend_ffi_parser_error("incorrect 'alignemnt' value at line %d", FFI_G(line));
|
||||
zend_ffi_parser_error("incorrect 'alignment' value at line %d", FFI_G(line));
|
||||
}
|
||||
} else {
|
||||
/* ignore */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue