aboutsummaryrefslogtreecommitdiff
path: root/pd/src/g_readwrite.c
diff options
context:
space:
mode:
Diffstat (limited to 'pd/src/g_readwrite.c')
-rw-r--r--pd/src/g_readwrite.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/pd/src/g_readwrite.c b/pd/src/g_readwrite.c
index ff93a4dd..97b56c02 100644
--- a/pd/src/g_readwrite.c
+++ b/pd/src/g_readwrite.c
@@ -619,15 +619,15 @@ static void canvas_saveto(t_canvas *x, t_binbuf *b)
binbuf_addv(b, "ssfffffffff;", gensym("#X"), gensym("coords"),
x->gl_x1, x->gl_y1,
x->gl_x2, x->gl_y2,
- (float)x->gl_pixwidth, (float)x->gl_pixheight,
- (float)((x->gl_hidetext)?2.:1.),
- (float)x->gl_xmargin, (float)x->gl_ymargin);
+ (t_float)x->gl_pixwidth, (t_float)x->gl_pixheight,
+ (t_float)((x->gl_hidetext)?2.:1.),
+ (t_float)x->gl_xmargin, (t_float)x->gl_ymargin);
/* otherwise write in 0.38-compatible form */
else binbuf_addv(b, "ssfffffff;", gensym("#X"), gensym("coords"),
x->gl_x1, x->gl_y1,
x->gl_x2, x->gl_y2,
- (float)x->gl_pixwidth, (float)x->gl_pixheight,
- (float)x->gl_isgraph);
+ (t_float)x->gl_pixwidth, (t_float)x->gl_pixheight,
+ (t_float)x->gl_isgraph);
}
}