compiler warnings about transposed memset parameters

Bug #423351 reported by Edward Sheldrake
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Extreme Tux Racer
New
Undecided
Unassigned

Bug Description

This is from Fedora 11, compiling svn r197:

In function 'void* memset(void*, int, size_t)',
    inlined from 'bool highscore::loadData()' at highscore.cpp:217:
/usr/include/bits/string3.h:82: warning: call to '__warn_memset_zero_len' declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters

and repeated about lines 223 and 229.

Tags: patch
Revision history for this message
Edward Sheldrake (ejs1920) wrote :
papukaija (papukaija)
tags: added: patch
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.