Mercurial > hg > audiodb
diff index.cpp @ 398:443c2939e84b api-inversion
off_t in ABI structures is a bad thing.
Why? Because its size depends on the compile-time environment. It was
OK, ish, when the only off_t was at the end of the struct, because then
we only stomped on uninitialized bits of memory; it is terrible when
there is more than one off_t kind of field. Use uint64_t for those
fields instead.
author | mas01cr |
---|---|
date | Thu, 27 Nov 2008 15:19:47 +0000 |
parents | 2d5c3f8e8c22 |
children | ef4792df8f93 dc099cd34b5b |