the latest defaultfile branch
tdb at tdb.fi
Sun Sep 16 07:19:24 PDT 2012
On 16.09.2012 16:39, Lubomir I. Ivanov wrote:
> i'm also seeing this passed:
> DIVE_DEPTH, dive->maxdepth
> which is of type "depth_t" instead of:
> DIVE_DEPTH, dive->maxdepth.mm
> ^ hmm, is this safe? are we certain that "mm" has the same address as
> the struct address on _all_ systems?
The standard says it has. I can't vouch for _all_ systems, since there
may be some broken implementations from several decades ago, but I'd be
surpised if there was some relevant implementation which violates the
standard in this way.
More information about the subsurface