http://d.puremagic.com/issues/show_bug.cgi?id=10931

           Summary: Missed `const` on argument types in etc.c.zlib
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nob...@puremagic.com
        ReportedBy: temta...@gmail.com


--- Comment #0 from Temtaime <temta...@gmail.com> 2013-08-30 12:54:11 PDT ---
All the source data should be declared as const, for example:

int compress(ubyte* dest,
             size_t* destLen,
             ubyte* source,
             size_t sourceLen);

Should be:

int compress(ubyte* dest,
             size_t* destLen,
             const(ubyte)* source,
             size_t sourceLen);

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to