diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llcommon/llcrc.cpp (renamed from linden/indra/llmath/llcrc.cpp) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/llmath/llcrc.cpp b/linden/indra/llcommon/llcrc.cpp index 447521a..beb76d1 100644 --- a/linden/indra/llmath/llcrc.cpp +++ b/linden/indra/llcommon/llcrc.cpp | |||
@@ -163,15 +163,15 @@ void LLCRC::update(const U8* buffer, size_t buffer_size) | |||
163 | } | 163 | } |
164 | } | 164 | } |
165 | 165 | ||
166 | void LLCRC::update(const char* filename) | 166 | void LLCRC::update(const std::string& filename) |
167 | { | 167 | { |
168 | if (!filename) | 168 | if (filename.empty()) |
169 | { | 169 | { |
170 | llerrs << "No filename specified" << llendl; | 170 | llerrs << "No filename specified" << llendl; |
171 | return; | 171 | return; |
172 | } | 172 | } |
173 | 173 | ||
174 | LLFILE* fp = LLFile::fopen(filename, "rb"); /* Flawfinder: ignore */ | 174 | FILE* fp = LLFile::fopen(filename, "rb"); /* Flawfinder: ignore */ |
175 | 175 | ||
176 | if (fp) | 176 | if (fp) |
177 | { | 177 | { |