** Changed in: qemu
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1577841

Title:
  target-mips/helper.c:542: bad sizeof ?

Status in QEMU:
  Fix Released

Bug description:
  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));

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1577841/+subscriptions

Reply via email to