https://bugs.kde.org/show_bug.cgi?id=378299

            Bug ID: 378299
           Summary: icalmime.c:182: bad call to memset ?
           Product: kdepim
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdepim-b...@kde.org
          Reporter: dcb...@hotmail.com
  Target Milestone: ---

icalmime.c:182:27: warning: 'memset' call operates on objects of type 'struct
sspm_part' while the size is based on a different type 'struct sspm_part *'
[-Wsizeof-pointer-memaccess]

Source code is

    memset(parts,0,sizeof(parts));

Maybe better code

    memset(parts,0,sizeof(*parts));

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to