--- udftools/wrudf/wrudf.c~ 2002-11-26 08:18:51.000000000 +0100 +++ udftools/wrudf/wrudf.c 2005-10-28 00:29:28.000000000 +0200 @@ -245,7 +245,7 @@ } else if( strncmp( spm->partIdent.ident, UDF_ID_VIRTUAL, strlen(UDF_ID_VIRTUAL)) == 0 ) virtualPartitionNum = i; } - (char*)spm += spm->partitionMapLength; + spm = (char*)spm + spm->partitionMapLength; } if( medium == CDR ) {