diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llcommon/llcrc.h (renamed from linden/indra/llmath/llcrc.h) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/llmath/llcrc.h b/linden/indra/llcommon/llcrc.h index 59f58ce..20f214e 100644 --- a/linden/indra/llmath/llcrc.h +++ b/linden/indra/llcommon/llcrc.h | |||
@@ -41,7 +41,7 @@ | |||
41 | // example (don't try this at work kids): | 41 | // example (don't try this at work kids): |
42 | // | 42 | // |
43 | // LLCRC crc; | 43 | // LLCRC crc; |
44 | // LLFILE* fp = LLFile::fopen(filename,"rb"); | 44 | // FILE* fp = LLFile::fopen(filename,"rb"); |
45 | // while(!feof(fp)) { | 45 | // while(!feof(fp)) { |
46 | // crc.update(fgetc(fp)); | 46 | // crc.update(fgetc(fp)); |
47 | // } | 47 | // } |
@@ -60,7 +60,7 @@ public: | |||
60 | U32 getCRC() const; | 60 | U32 getCRC() const; |
61 | void update(U8 next_byte); | 61 | void update(U8 next_byte); |
62 | void update(const U8* buffer, size_t buffer_size); | 62 | void update(const U8* buffer, size_t buffer_size); |
63 | void update(const char *filename); | 63 | void update(const std::string& filename); |
64 | 64 | ||
65 | #ifdef _DEBUG | 65 | #ifdef _DEBUG |
66 | // This function runs tests to make sure the crc is | 66 | // This function runs tests to make sure the crc is |