summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 } \