From 21d77a417e17ac92bfc10dbd742c867d4019ce69 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 25 Sep 2022 20:27:46 +1000 Subject: Cleanup: replace C-style casts with functional casts for numeric types Some changes missed from f68cfd6bb078482c4a779a6e26a56e2734edb5b8. --- source/blender/editors/space_file/filelist.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/editors/space_file/filelist.cc') diff --git a/source/blender/editors/space_file/filelist.cc b/source/blender/editors/space_file/filelist.cc index 06224b3a28c..e2d4f094137 100644 --- a/source/blender/editors/space_file/filelist.cc +++ b/source/blender/editors/space_file/filelist.cc @@ -2008,8 +2008,8 @@ static FileDirEntry *filelist_file_create_entry(FileList *filelist, const int in ret = MEM_cnew(__func__); - ret->size = (uint64_t)entry->st.st_size; - ret->time = (int64_t)entry->st.st_mtime; + ret->size = uint64_t(entry->st.st_size); + ret->time = int64_t(entry->st.st_mtime); ret->relpath = BLI_strdup(entry->relpath); if (entry->free_name) { -- cgit v1.2.3