From 71976e927cca43b970cb659c03fd6908c352ea3d Mon Sep 17 00:00:00 2001 From: Dominick Allen Date: Tue, 15 Oct 2024 14:15:36 -0500 Subject: Style fixes for clang tidy. --- include/fud_c_file.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/fud_c_file.hpp b/include/fud_c_file.hpp index 1c7c304..c81a340 100644 --- a/include/fud_c_file.hpp +++ b/include/fud_c_file.hpp @@ -329,7 +329,7 @@ class CFile { return result; } - auto* sourceBytes = static_cast(source); + const auto* sourceBytes = static_cast(source); result.bytesWritten = fwrite(sourceBytes, 1, length, self.m_file); static_cast(self.reset()); if (result.bytesWritten != length) { -- cgit v1.2.3