summary refs log tree commit diff stats
path: root/results/scraper/launchpad-without-comments/1577841
diff options
context:
space:
mode:
Diffstat (limited to 'results/scraper/launchpad-without-comments/1577841')
-rw-r--r--results/scraper/launchpad-without-comments/157784113
1 files changed, 13 insertions, 0 deletions
diff --git a/results/scraper/launchpad-without-comments/1577841 b/results/scraper/launchpad-without-comments/1577841
new file mode 100644
index 00000000..bdabb257
--- /dev/null
+++ b/results/scraper/launchpad-without-comments/1577841
@@ -0,0 +1,13 @@
+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));
\ No newline at end of file