From 68b38082d55cfd31cc0804c4da08f41cec5d5a93 Mon Sep 17 00:00:00 2001 From: Marcel Loose <loose@astron.nl> Date: Wed, 31 May 2006 14:59:17 +0000 Subject: [PATCH] BugID: 714 The correct return type of the STL find algorithm is string::size_type, not uint32. --- LCS/ACC/APS/src/ParameterSetImpl.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LCS/ACC/APS/src/ParameterSetImpl.cc b/LCS/ACC/APS/src/ParameterSetImpl.cc index a99091564c2..2a08b603e79 100644 --- a/LCS/ACC/APS/src/ParameterSetImpl.cc +++ b/LCS/ACC/APS/src/ParameterSetImpl.cc @@ -869,12 +869,12 @@ string valuePart (const string& parameterLine) // not an expression. int32 indexValue (const string& label, char indexMarker[2]) { - uint32 start = label.find_last_of(indexMarker[0]); + string::size_type start = label.find_last_of(indexMarker[0]); if (start == string::npos) { return (0); } - uint32 end = label.find(indexMarker[1], start); + string::size_type end = label.find(indexMarker[1], start); if (end == string::npos) { return(0); } -- GitLab