批踢踢實業坊
›
看板
DFBSD_bugs
關於我們
聯絡資訊
返回看板
發信人
Matthew Dillon <dillon@apollo.backplane.com>,
看板
DFBSD_bugs
標 題
Re: [issue1632] Seek to end of file returns 136 on CD/DVD drives
發信站
(null) (Sat Dec 19 18:43:47 2009)
轉信站
ptt!crater_reader.dragonflybsd.org!crater.dragonflybsd.org!127.0.0.1.M
Note that %lld is 128 bits on 64-bit machines. The best thing to do is to cast to size_t or ssize_t: "... %ju ...", ... (size_t)blah "... %jd ...", ... (ssize_t)blah -Matt Matthew Dillon <dillon@backplane.com>