diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-03-12 19:14:41 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-03-12 19:14:56 +0300 |
commit | 651fe243e6dcb31e9838f5816eaa00206309f59c (patch) | |
tree | 2f770a98f4ad5ae457547b1ca6934bd2c105a131 /source/blender/blenloader | |
parent | f707783d5f9fedbe2503d841bc8a74bed6092cdb (diff) |
Cleanup: const warning
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index e809b22cdbf..347ee1378a4 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -555,14 +555,14 @@ static void read_file_version(FileData *fd, Main *main) } } -static bool blo_bhead_is_id(BHead *bhead) +static bool blo_bhead_is_id(const BHead *bhead) { /* BHead codes are four bytes (like 'ENDB', 'TEST', etc.), but if the two most-significant bytes * are zero, the values actually indicate an ID type. */ return bhead->code <= 0xFFFF; } -static bool blo_bhead_is_id_valid_type(BHead *bhead) +static bool blo_bhead_is_id_valid_type(const BHead *bhead) { if (!blo_bhead_is_id(bhead)) { return false; |