Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-09-18 04:06:41 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-09-18 04:15:12 +0300
commit0e78dacb4d30070fd5ac727a7566d54bd11de545 (patch)
treedf94581399d1d92f1818504d122f67e80a19094e /source/blender/blenloader
parent1dda60792cc303ec81785d6a79926eed9a4da3d3 (diff)
Cleanup: change enum usage so types are explicitly listed
Structure switch statements so new missing items cause warnings.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/readfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 1a9abe99012..bc04720d5e4 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -6221,7 +6221,7 @@ static void placeholders_ensure_valid(Main *bmain)
static const char *dataname(short id_code)
{
- switch (id_code) {
+ switch ((ID_Type)id_code) {
case ID_OB:
return "Data from OB";
case ID_ME: