Update of /cvsroot/xine/xine-lib/src/xine-engine
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv4840
Modified Files:
post.h
Log Message:
Avoid casts as they are now unnecessary.
Index: post.h
===================================================================
RCS file: /cvsroot/xine/xine-lib/src/xine-engine/post.h,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- post.h 25 Dec 2006 18:43:38 -0000 1.24
+++ post.h 20 Feb 2007 01:02:47 -0000 1.25
@@ -380,7 +380,7 @@
#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 } \
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Xine-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xine-cvslog