diff options
Diffstat (limited to 'results/classifier/deepseek-1/output/mistranslation/1577841')
| -rw-r--r-- | results/classifier/deepseek-1/output/mistranslation/1577841 | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/results/classifier/deepseek-1/output/mistranslation/1577841 b/results/classifier/deepseek-1/output/mistranslation/1577841 new file mode 100644 index 00000000..16c6e0dd --- /dev/null +++ b/results/classifier/deepseek-1/output/mistranslation/1577841 @@ -0,0 +1,18 @@ + +target-mips/helper.c:542: bad sizeof ? + +Recent versions of gcc say this: + +qemu/target-mips/helper.c:542:9: warning: ‘memset’ used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] + +Source code is + + memset(env->CP0_WatchLo, 0, sizeof(*env->CP0_WatchLo)); + +Maybe better code + + memset(env->CP0_WatchLo, 0, 8 * sizeof(target_ulong)); + +Fix has been included here: +http://git.qemu.org/?p=qemu.git;a=commitdiff;h=9d989c732b153fe15 + |
