Mercurial > projects > hoofbaby
diff src/impl/hoofbaby/app/codec_adhoc.d @ 2:52278c5dc19c
- Fixed build (sorry...)
- Removed ncb (double sorry... hopefully it won't be in every clone of the repo)
- Figured out the .hgignore thing
author | fraserofthenight |
---|---|
date | Tue, 07 Jul 2009 20:23:49 -0700 |
parents | 3425707ddbf6 |
children |
line wrap: on
line diff
--- a/src/impl/hoofbaby/app/codec_adhoc.d Mon Jul 06 08:08:37 2009 -0700 +++ b/src/impl/hoofbaby/app/codec_adhoc.d Tue Jul 07 20:23:49 2009 -0700 @@ -293,8 +293,8 @@ scope File file = new File("biff_happy.wmv", File.WriteCreate); uint available = ringBuf.available; - ringBuf.beginRead(available); - file.write(ringBuf.addr[0 .. ringBuf.available()]); + auto addr = ringBuf.beginRead(available); + file.write(addr[0 .. ringBuf.available()]); ringBuf.endRead(available); file.close();