diff options
Diffstat (limited to 'sca-cpp/trunk/components/log/scribe-cat.cpp')
-rw-r--r-- | sca-cpp/trunk/components/log/scribe-cat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-cpp/trunk/components/log/scribe-cat.cpp b/sca-cpp/trunk/components/log/scribe-cat.cpp index f3c5e898cd..77011e8b12 100644 --- a/sca-cpp/trunk/components/log/scribe-cat.cpp +++ b/sca-cpp/trunk/components/log/scribe-cat.cpp @@ -46,7 +46,7 @@ int cat(const string& category, const string& type) { const char* s = fgets(buf, 8192, stdin); if (s == NULL) return 0; - const int l = strlen(s); + const size_t l = strlen(s); if (l < 2) return 0; buf[l - 1] = '\0'; |