diff options
author | Sergey Sharybin <sergey@blender.org> | 2022-05-05 12:38:51 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2022-05-05 12:38:51 +0300 |
commit | 9ebf8a0c35a5f59133fcf883f0c818354ed0dd5e (patch) | |
tree | dae0a30693a3e39f8fefaa7dce72bf9e8957f2fb /source/blender/makesdna | |
parent | 060c5a7fa2c10f8adcaadf30cf961103d31de113 (diff) |
Cleanup: Use unsigned short for mesh flag
Solves the compilation warning about sign change when the
default flags are cast from int to short.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_mesh_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_mesh_types.h b/source/blender/makesdna/DNA_mesh_types.h index b98c9dd2886..97e057361c1 100644 --- a/source/blender/makesdna/DNA_mesh_types.h +++ b/source/blender/makesdna/DNA_mesh_types.h @@ -280,7 +280,7 @@ typedef struct Mesh { /** Various flags used when editing the mesh. */ char editflag; /** Mostly more flags used when editing or displaying the mesh. */ - short flag; + unsigned short flag; /** * The angle for auto smooth in radians. `M_PI` (180 degrees) causes all edges to be smooth. |