From c57e959d4f11526038f06f5a314e57eb8dab33fe Mon Sep 17 00:00:00 2001 From: dimitr Date: Mon, 26 Jan 2004 12:55:53 +0000 Subject: [PATCH] Fixed yet another porting bug. Thanks to Eugene Kilin. --- src/jrd/dfw.epp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/jrd/dfw.epp b/src/jrd/dfw.epp index db6359a17e..cdc8d2ac89 100644 --- a/src/jrd/dfw.epp +++ b/src/jrd/dfw.epp @@ -1373,12 +1373,13 @@ static bool formatsAreEqual(fmt* old_format, fmt* new_format) return false; } - fmt::fmt_desc_const_iterator old_desc = old_format->fmt_desc.begin(); - const fmt::fmt_desc_const_iterator old_end = old_format->fmt_desc.end(); + fmt::fmt_desc_const_iterator old_desc = old_format->fmt_desc.begin(); + const fmt::fmt_desc_const_iterator old_end = old_format->fmt_desc.end(); - fmt::fmt_desc_const_iterator new_desc = old_format->fmt_desc.begin(); + fmt::fmt_desc_const_iterator new_desc = new_format->fmt_desc.begin(); - while (old_desc != old_end) { + while (old_desc != old_end) + { if ((old_desc->dsc_dtype != new_desc->dsc_dtype) || (old_desc->dsc_scale != new_desc->dsc_scale) || (old_desc->dsc_length != new_desc->dsc_length)