summaryrefslogtreecommitdiff
path: root/src/xine-engine/post.h
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-02-20 01:13:08 +0000
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-02-20 01:13:08 +0000
commit1806b4fbeee52df73f7a431adc2279264c17cead (patch)
tree8e74b0cab2a44fedb6c7a4cbba31f7e769c58ebf /src/xine-engine/post.h
parent7b7f11b8e9dcfa069ccd447c4054dd8d832f628c (diff)
downloadxine-lib-1806b4fbeee52df73f7a431adc2279264c17cead.tar.gz
xine-lib-1806b4fbeee52df73f7a431adc2279264c17cead.tar.bz2
Revert, got the wrong warning line.
CVS patchset: 8617 CVS date: 2007/02/20 01:13:08
Diffstat (limited to 'src/xine-engine/post.h')
-rw-r--r--src/xine-engine/post.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xine-engine/post.h b/src/xine-engine/post.h
index 739a50f0a..bcdc3c54b 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.25 2007/02/20 01:02:47 dgp85 Exp $
+ * $Id: post.h,v 1.26 2007/02/20 01:13:08 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), \
- &temp_s.var-&temp_s, enumv, min, max, readonly, descr },
+ (char*)&temp_s.var-(char*)&temp_s, enumv, min, max, readonly, descr },
#define END_PARAM_DESCR( name ) \
{ POST_PARAM_TYPE_LAST, NULL, 0, 0, NULL, 0, 0, 1, NULL } \