diff --git a/indra/llcommon/llworkerthread.h b/indra/llcommon/llworkerthread.h
index d466c35786a9a14e3ffbf030501bbc045029f2ac..72fc1ebd9022da7334396bf5d2e00cb71801f05b 100644
--- a/indra/llcommon/llworkerthread.h
+++ b/indra/llcommon/llworkerthread.h
@@ -71,7 +71,7 @@ class LLWorkerThread : public LLQueuedThread
 	handle_t addWorkRequest(LLWorkerClass* workerclass, S32 param, U32 priority = PRIORITY_NORMAL);
 	
 	void deleteWorker(LLWorkerClass* workerclass); // schedule for deletion
-	S32 getNumDeletes() { return mDeleteList.size(); } // debug
+	S32 getNumDeletes() { return (S32)mDeleteList.size(); } // debug
 };
 
 //============================================================================