freebsd-ports/audio/nas/files/patch-clients_audio_auedit_Graph.c
Vasil Dimov 924c483f27 Split patch-warnings into
patch-clients_audio_audemo_audemo.c
patch-clients_audio_auedit_Graph.c
patch-clients_audio_auedit_auedit.c
patch-clients_audio_aupanel_aupanel.c
patch-clients_audio_auphone_auphone.c
patch-clients_audio_autool_audiotool.c
patch-clients_audio_auwave_auwave.c
patch-server_dda_voxware_config.c
patch-server_dia_gram.y
patch-server_dia_lex.l
to ease with maintaining.
2006-05-20 07:56:48 +00:00

33 lines
910 B
C

--- clients/audio/auedit/Graph.c Sun Jun 20 15:01:41 2004
+++ clients/audio/auedit/Graph.c Mon Oct 10 11:21:15 2005
@@ -29,4 +29,5 @@
#include "config.h"
+#include <inttypes.h>
#if defined(HAVE_LIMITS_H)
@@ -453,5 +454,5 @@
{
XtCallCallbacks((Widget) w, XtNleftProc,
- (XtPointer) w->graph.leftMarker);
+ (XtPointer)(intptr_t)w->graph.leftMarker);
redraw = TRUE;
}
@@ -460,5 +461,5 @@
{
XtCallCallbacks((Widget) w, XtNrightProc,
- (XtPointer) w->graph.rightMarker);
+ (XtPointer)(intptr_t)w->graph.rightMarker);
redraw = TRUE;
}
@@ -540,8 +541,8 @@
if (w->graph.marker == GraphLeftMarker)
XtCallCallbacks((Widget) w, XtNleftProc,
- (XtPointer) w->graph.leftMarker);
+ (XtPointer)(intptr_t)w->graph.leftMarker);
else
XtCallCallbacks((Widget) w, XtNrightProc,
- (XtPointer) w->graph.rightMarker);
+ (XtPointer)(intptr_t)w->graph.rightMarker);
}