[Bug 8137] New: Use a union instead of storing an integer in idlist::name

samba-bugs at samba.org samba-bugs at samba.org
Mon May 16 12:52:27 MDT 2011


https://bugzilla.samba.org/show_bug.cgi?id=8137

           Summary: Use a union instead of storing an integer in
                    idlist::name
           Product: rsync
           Version: 3.1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: matt at mattmccutchen.net
         QAContact: rsync-qa at samba.org


The idlist code is stuffing an integer in the idlist::name member, which causes
a compiler warning:

uidlist.c: In function ‘parse_name_map’:
uidlist.c:466:12: warning: cast to pointer from integer of different size

The code should use a union instead.

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the rsync mailing list