diff options
Diffstat (limited to 'source/blender/editors/render/render_preview.c')
-rw-r--r-- | source/blender/editors/render/render_preview.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/render/render_preview.c b/source/blender/editors/render/render_preview.c index f6d1f8d0bb8..824ff8b154d 100644 --- a/source/blender/editors/render/render_preview.c +++ b/source/blender/editors/render/render_preview.c @@ -495,8 +495,8 @@ static int ed_preview_draw_rect(ScrArea *sa, Scene *sce, ID *id, int split, int if (sce) gamma_correct = sce->r.color_mgt_flag & R_COLOR_MANAGEMENT; } - if(!split || first) sprintf(name, "Preview %p", sa); - else sprintf(name, "SecondPreview %p", sa); + if(!split || first) sprintf(name, "Preview %p", (void *)sa); + else sprintf(name, "SecondPreview %p", (void *)sa); if(split) { if(first) { @@ -736,7 +736,7 @@ void BIF_view3d_previewrender(Main *bmain, Scene *scene, ScrArea *sa) ri->status= 0; - sprintf(name, "View3dPreview %p", sa); + sprintf(name, "View3dPreview %p", (void *)sa); re= ri->re= RE_NewRender(name); //RE_display_draw_cb(re, view3d_previewrender_progress); //RE_stats_draw_cb(re, view3d_previewrender_stats); |