about summary refs log tree commit diff
path: root/src/base/tl
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2010-07-05 20:57:07 +0200
committerMagnus Auvinen <magnus.auvinen@gmail.com>2010-07-05 20:57:07 +0200
commit575f72d978c700e4bedb46f4083bf1c24726640e (patch)
tree4ff07848769ab4e308cbd27959181423904f4292 /src/base/tl
parentd302ba921e61177da9af1f85df58fe6f47ca5e95 (diff)
downloadzcatch-575f72d978c700e4bedb46f4083bf1c24726640e.tar.gz
zcatch-575f72d978c700e4bedb46f4083bf1c24726640e.zip
fixed some compiler errors and warnings with clang
Diffstat (limited to 'src/base/tl')
-rw-r--r--src/base/tl/array.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/tl/array.h b/src/base/tl/array.h
index 580f4682..14c83295 100644
--- a/src/base/tl/array.h
+++ b/src/base/tl/array.h
@@ -283,7 +283,7 @@ public:
 	*/
 	int memusage()
 	{
-		return sizeof(array) + sizeof(T)*size;
+		return sizeof(array) + sizeof(T)*list_size;
 	}
 
 	/*