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



--- Comment #4 from bearophile_h...@eml.cc 2011-06-19 16:44:30 PDT ---
(In reply to comment #3)
> See a very nice example of bug of this kind, that's easy to find for a 
> compiler
> or lint:
> 
> http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=139021

The bug in Andrej Mitrovic code was:

if (mmioRead(hmmio, cast(LPSTR)&drum, DRUM.sizeof != DRUM.sizeof))
{
    mmioClose(hmmio, 0);
    return szErrorCannotRead;
}

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

Reply via email to