[Issue 3331] New: Error in the std.md5 example

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Sep 18 23:47:45 PDT 2009


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

           Summary: Error in the std.md5 example
           Product: D
           Version: 1.047
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: more.more at ist-willig.de


--- Comment #0 from notna <more.more at ist-willig.de> 2009-09-18 23:47:44 PDT ---
Line
  while ((len = fread(buffer, 1, buffer.sizeof, file)) != 0)
has to be
  while ((len = fread(buffer.ptr, 1, buffer.sizeof, file)) != 0)
                             ^^^

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


More information about the Digitalmars-d-bugs mailing list