Index: source/ariba/utility/types/Identifier.h
===================================================================
--- source/ariba/utility/types/Identifier.h	(revision 4602)
+++ source/ariba/utility/types/Identifier.h	(revision 4604)
@@ -571,5 +571,5 @@
 	// calculate length of key
 	uint16_t len = array_size*sizeof(mp_limb_t);
-	uint8_t unspec = isUnspec;
+	uint8_t unspec = (isUnspec ? 1 : 0);
 
 	// only serialize the lower 16 bits of keyLength
@@ -590,5 +590,5 @@
 
 	// when deserializing reset unspec flag
-	if (X.isDeserializer()) isUnspec = unspec;
+	if (X.isDeserializer()) isUnspec = (unspec == 1 ? true : false);
 } sznEnd();
 
