2012/1/17 Mail Mantis <[email protected]>: > Correct me if I'm wrong, but wouldn't this be better: > (m_captures[1].ptr - s.ptr) / s[0].sizeof;
No, it wouldn't. Somehow, I forgot the rules for pointer ariphmetics. Sorry.
2012/1/17 Mail Mantis <[email protected]>: > Correct me if I'm wrong, but wouldn't this be better: > (m_captures[1].ptr - s.ptr) / s[0].sizeof;
No, it wouldn't. Somehow, I forgot the rules for pointer ariphmetics. Sorry.