From caec161501b7157e102c7e6532084616e8dce176 Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Tue, 28 Jun 2011 15:50:47 +0000 Subject: Port to Mac OS X 10.6.7. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1140690 13f79535-47bb-0310-9956-ffa450edef68 --- sca-cpp/trunk/components/log/scribe-cat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sca-cpp/trunk/components/log/scribe-cat.cpp') 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'; -- cgit v1.2.3