aboutsummaryrefslogtreecommitdiff
path: root/desiredata
diff options
context:
space:
mode:
authorN.N. <matju@users.sourceforge.net>2009-04-24 19:46:52 +0000
committerN.N. <matju@users.sourceforge.net>2009-04-24 19:46:52 +0000
commitc7cbed7d7c68661feb63f7dcb60974c8a6447d2c (patch)
tree2f177c43c5f0ffc3cc088b0d59e2a5282031a4da /desiredata
parent8c41bdc06ba145dbd17f4a9af65515840a95c930 (diff)
remove gcc 4.2 warnings in inlet_tip, pd_vmess, MAKESYM
svn path=/trunk/; revision=11125
Diffstat (limited to 'desiredata')
-rw-r--r--desiredata/src/desire.h2
-rw-r--r--desiredata/src/m_pd.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/desiredata/src/desire.h b/desiredata/src/desire.h
index 79d83cf5..b8824e62 100644
--- a/desiredata/src/desire.h
+++ b/desiredata/src/desire.h
@@ -301,7 +301,7 @@ EXTERN void word_free(t_word *wp, t_template *tmpl);
EXTERN void scalar_redraw(t_scalar *x, t_canvas *canvas);
//EXTERN int pd_pickle(t_foo *foo, char *fmt, ...);
EXTERN void pd_set_newest (t_pd *x);
-char* inlet_tip(t_inlet* i,int num);
+EXTERN const char *inlet_tip(t_inlet* i,int num);
extern t_hash<t_pd *,long> *object_table;
extern t_hash<t_symbol *,t_class *> *class_table;
diff --git a/desiredata/src/m_pd.h b/desiredata/src/m_pd.h
index 6ea90242..dccf9a11 100644
--- a/desiredata/src/m_pd.h
+++ b/desiredata/src/m_pd.h
@@ -380,7 +380,7 @@ EXTERN t_symbol *symprintf(const char *s, ...);
EXTERN t_gotfn getfn(t_pd *x, t_symbol *s);
EXTERN t_gotfn zgetfn(t_pd *x, t_symbol *s);
EXTERN void nullfn(void);
-EXTERN void pd_vmess(t_pd *x, t_symbol *s, char *fmt, ...);
+EXTERN void pd_vmess(t_pd *x, t_symbol *s, const char *fmt, ...);
#define mess0(x,s) (getfn((x),(s))((x)))
#define mess1(x,s,a) (getfn((x),(s))((x),(a)))
#define mess2(x,s,a,b) (getfn((x),(s))((x),(a),(b)))