Commit c3dd559
authored
Fix a compilation warning (#3682)
Fix:
```
wamr/core/iwasm/compilation/aot_llvm.c: In function ‘insert_native_symbol’:
wamr/core/iwasm/compilation/aot_llvm.c:3290:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
3290 | if (ret < 0 || ret + 1 > sizeof(sym->symbol)) {
| ^
```
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>1 parent 3ce242b commit c3dd559
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3287 | 3287 | | |
3288 | 3288 | | |
3289 | 3289 | | |
3290 | | - | |
| 3290 | + | |
3291 | 3291 | | |
3292 | 3292 | | |
3293 | 3293 | | |
| |||
0 commit comments