diff options
author | wm4 <wm4@nowhere> | 2013-07-12 18:40:08 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-07-12 18:40:08 +0200 |
commit | 9dfc7daf79a855cb638baf99d3cb7e3833bf99a5 (patch) | |
tree | 4f319d2c9c80a6ef98666b4edeadcb6af2e5bee3 /core/mp_ring.h | |
parent | aa3b8c8fe704bc732feccbea84f8a725ee3b9acd (diff) | |
download | mpv-9dfc7daf79a855cb638baf99d3cb7e3833bf99a5.tar.bz2 mpv-9dfc7daf79a855cb638baf99d3cb7e3833bf99a5.tar.xz |
m_struct: try to be more standard C
The main problem is that this m_struct stuff uses pointers for offsets
(why...), so we mangle it by intptr_t. This stuff really should use ints
(or in theory ptrdiff_t) for offsets, but changing it would be too much
effort, and hopefully this m_struct stuff will go away and replaced by
the common option parser mechanism instead.
Shuts up warnings on Windows.
Patch suggested by jon_y and rossy on IRC.
Diffstat (limited to 'core/mp_ring.h')
0 files changed, 0 insertions, 0 deletions