From 0807e9d5da88bacad8dbcc57342dbeb82d2093c8 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 20 Sep 2010 19:26:19 +0200 Subject: [PATCH] first fix for 64bit bug/crash. --- src/products/gLiveSupport/src/GLiveSupport.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/products/gLiveSupport/src/GLiveSupport.cxx b/src/products/gLiveSupport/src/GLiveSupport.cxx index 1b4b81f2b..5d90d0d4c 100644 --- a/src/products/gLiveSupport/src/GLiveSupport.cxx +++ b/src/products/gLiveSupport/src/GLiveSupport.cxx @@ -1954,7 +1954,7 @@ GLiveSupport :: substituteRdsItem(Ptr::Ref rdsString, const std::string & metadataKey) throw () { - unsigned int pos; + size_t pos; while ((pos = rdsString->find(placeholder)) != std::string::npos) { Ptr::Ref value; if (playable) {