diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2008-12-25 23:14:52 +0300 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2008-12-25 23:14:52 +0300 |
commit | b917e1ac66fd7fa88dbcd22d0b6ea792e71a009e (patch) | |
tree | efa2d9ca5cb89b6770d736e15edb70a9b8d11b89 /source/blender/editors/space_node/node_header.c | |
parent | d438a86f063aa2040719fdb4a50c312f4d3f8daa (diff) |
2.5 / Nodes
* fix warnings for msvc
Diffstat (limited to 'source/blender/editors/space_node/node_header.c')
-rw-r--r-- | source/blender/editors/space_node/node_header.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/space_node/node_header.c b/source/blender/editors/space_node/node_header.c index 91cd9502035..0e900c16ca7 100644 --- a/source/blender/editors/space_node/node_header.c +++ b/source/blender/editors/space_node/node_header.c @@ -190,7 +190,7 @@ static void node_make_addmenu(bContext *C, int nodeclass, uiBlock *block) if(ngroup->type==ntree->type) { uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, (ngroup->id.name+2), 0, - yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 1, NODE_GROUP_MENU+tot, ""); + yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 1.0f, (float)(NODE_GROUP_MENU+tot), ""); a++; } } @@ -202,11 +202,11 @@ static void node_make_addmenu(bContext *C, int nodeclass, uiBlock *block) if( type->nclass == nodeclass ) { if(type->type == NODE_DYNAMIC) { uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, type->name, 0, - yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 1, NODE_DYNAMIC_MENU+script, ""); + yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 1.0f, (float)(NODE_DYNAMIC_MENU+script), ""); script++; } else { uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, type->name, 0, - yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 1, type->type, ""); + yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 1.0f, (float)(type->type), ""); } a++; } |