diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-02-03 08:40:27 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-02-03 08:42:22 +0300 |
commit | faaaf7ee1f030b9b47e14c9787e9da5b0e78f08c (patch) | |
tree | b90b7d85cc8191c69c2adcc5cfa6ce87fb85f93c /source/blender/editors/space_node | |
parent | 32125c40d36228a5e2b21bbc28f959ebace84e98 (diff) |
Possible NULL de-reference on fullsceen check
Also quiet some other minor warnings
Diffstat (limited to 'source/blender/editors/space_node')
-rw-r--r-- | source/blender/editors/space_node/drawnode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_node/drawnode.c b/source/blender/editors/space_node/drawnode.c index fae2020c878..394d148de54 100644 --- a/source/blender/editors/space_node/drawnode.c +++ b/source/blender/editors/space_node/drawnode.c @@ -390,7 +390,7 @@ static void node_draw_frame_label(bNodeTree *ntree, bNode *node, const float asp float width, ascender; float x, y; const int font_size = data->label_size / aspect; - const float margin = NODE_DY / 4; + const float margin = (float)(NODE_DY / 4); nodeLabel(ntree, node, label, sizeof(label)); |