diff --git a/src/client/game/demonware/services/bdStorage.cpp b/src/client/game/demonware/services/bdStorage.cpp index 417c7a25..165e724d 100644 --- a/src/client/game/demonware/services/bdStorage.cpp +++ b/src/client/game/demonware/services/bdStorage.cpp @@ -102,7 +102,7 @@ namespace demonware info->filename = filename; info->create_time = 0; info->modified_time = info->create_time; - info->file_size = uint32_t(data.size()); + info->file_size = static_cast(data.size()); info->owner_id = 0; info->priv = false;