diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-02-20 01:02:47 +0000 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-02-20 01:02:47 +0000 |
commit | 2f2f62ae7c066e01b8d14b4ffc52ac86a9871d33 (patch) | |
tree | ad8daa3b77f40a6f17bc124dcce7644f38d60135 /src/xine-engine/post.h | |
parent | 86b77e33f11dc24b53f22170d957f5cb1eadf843 (diff) | |
download | xine-lib-2f2f62ae7c066e01b8d14b4ffc52ac86a9871d33.tar.gz xine-lib-2f2f62ae7c066e01b8d14b4ffc52ac86a9871d33.tar.bz2 |
Avoid casts as they are now unnecessary.
CVS patchset: 8615
CVS date: 2007/02/20 01:02:47
Diffstat (limited to 'src/xine-engine/post.h')
-rw-r--r-- | src/xine-engine/post.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xine-engine/post.h b/src/xine-engine/post.h index 521fae9e5..739a50f0a 100644 --- a/src/xine-engine/post.h +++ b/src/xine-engine/post.h @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: post.h,v 1.24 2006/12/25 18:43:38 dgp85 Exp $ + * $Id: post.h,v 1.25 2007/02/20 01:02:47 dgp85 Exp $ * * post plugin definitions * @@ -380,7 +380,7 @@ static xine_post_api_parameter_t temp_p[] = { #define PARAM_ITEM( param_type, var, enumv, min, max, readonly, descr ) \ { param_type, #var, sizeof(temp_s.var), \ - (char *)&temp_s.var-(char *)&temp_s, enumv, min, max, readonly, descr }, + &temp_s.var-&temp_s, enumv, min, max, readonly, descr }, #define END_PARAM_DESCR( name ) \ { POST_PARAM_TYPE_LAST, NULL, 0, 0, NULL, 0, 0, 1, NULL } \ |