#1032 fixed (data type of valueStart)
by changing the type int to size-t at two places and by adding two int) casts to avoid warning messages of the C-compiler.

git-svn-id: https://svn.modelica.org/projects/Modelica/trunk@6135 7ce873d0-865f-4ce7-a662-4bb36ea78beb