projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
fix leaks
[m6w6/ext-psi]
/
src
/
types
/
decl_struct.c
diff --git
a/src/types/decl_struct.c
b/src/types/decl_struct.c
index cfe46c91e5b535b1807b88d8d5532696d5b7ce37..c2b8cc1779806b8582d150dcc30e87d11a2cf1a7 100644
(file)
--- a/
src/types/decl_struct.c
+++ b/
src/types/decl_struct.c
@@
-177,7
+177,7
@@
bool psi_decl_struct_validate(struct psi_data *data, struct psi_decl_struct *s,
align = psi_decl_arg_align(darg, &pos, &len);
if (darg->layout) {
align = psi_decl_arg_align(darg, &pos, &len);
if (darg->layout) {
- if (darg->layout->pos != pos) {
+ if (darg->layout->pos != pos
&& !darg->layout->bfw
) {
data->error(data, darg->token, PSI_WARNING,
"Computed offset %zu of %s.%s does not match"
" pre-defined offset %zu",
data->error(data, darg->token, PSI_WARNING,
"Computed offset %zu of %s.%s does not match"
" pre-defined offset %zu",