Depsgraph: Don't use negative enum value

Not sure why it sohuld be negative, we shouldn't be using any explicit value
comparison.
This commit is contained in:
Sergey Sharybin 2017-12-15 17:38:12 +01:00
parent 5e28b71457
commit 68a7f5e594
1 changed files with 2 additions and 2 deletions

View File

@ -82,9 +82,9 @@ typedef enum eDepsNode_Class {
/* Types of Nodes */
typedef enum eDepsNode_Type {
/* Fallback type for invalid return value */
DEG_NODE_TYPE_UNDEFINED = -1,
DEG_NODE_TYPE_UNDEFINED = 0,
/* Inner Node (Operation) */
DEG_NODE_TYPE_OPERATION = 0,
DEG_NODE_TYPE_OPERATION,
/* **** Generic Types **** */