santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cullum, Steve" <steven.cul...@eds.com>
Subject [C++] Xkclient.cpp fails to compile with Visual studio .net 2003
Date Fri, 14 Oct 2005 13:04:39 GMT
Inside XKClient.cpp line 1742

The variable "i" is used twice..once declared as an "int", once declared
as a "char".

Simple fix................;)


 for (int i = 0; i < msg->getUseKeyWithSize() ; ++i) {

		XKMSUseKeyWith * ukw = msg->getUseKeyWithItem(i);
		levelSet(level+2);
		char * a = XMLString::transcode(ukw->getApplication());
		char * i = XMLString::transcode(ukw->getIdentifier());
		cout << "Application : \"" << a << "\"\n";
		levelSet(level+2);
		cout << "Identifier  : \"" << i << "\"" << endl;
		XSEC_RELEASE_XMLCH(a);
		XSEC_RELEASE_XMLCH(i);

	}







Mime
View raw message