Browse Source

avoid applying sizeof to an expression of function type

develop
Stanislaw Kaushanski 1 month ago
parent
commit
d87dfff430
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      incl/iss/tcc/code_builder.h

+ 2
- 1
incl/iss/tcc/code_builder.h View File

@ -372,7 +372,8 @@ struct code_builder {
}
inline void write_mem(mem_type_e type, uint64_t addr, value val) {
switch(sizeof(val.size)){
auto size = val.size();
switch(sizeof(size)){
case 8:
case 16:
case 32:

Loading…
Cancel
Save