From be785c50b95b796cfea6ef8a040bf55af2b37a91 Mon Sep 17 00:00:00 2001 From: Matthew Webster <mwebster@fmrib.ox.ac.uk> Date: Wed, 25 Jul 2007 15:47:43 +0000 Subject: [PATCH] changed unsigned int to signed, was test ever failed? --- fdt_matrix_ops.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdt_matrix_ops.cc b/fdt_matrix_ops.cc index d7f0df8..19d7728 100644 --- a/fdt_matrix_ops.cc +++ b/fdt_matrix_ops.cc @@ -14,7 +14,7 @@ using namespace NEWIMAGE; using namespace NEWMAT; string matf2coordf(string matf){ - unsigned int pos=matf.rfind("/"); + int pos=matf.rfind("/"); if(pos!=string::npos) matf.replace(pos,1,"/coords_for_"); else -- GitLab