You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by sa...@apache.org on 2005/03/29 11:23:14 UTC

cvs commit: ws-axis/c/tests/auto_build/testcases/client/cpp InteropTestRound1Client.cpp

samisa      2005/03/29 01:23:14

  Modified:    c/tests/auto_build/testcases/client/cpp
                        InteropTestRound1Client.cpp
  Log:
  Fixed compilation errors
  
  Revision  Changes    Path
  1.6       +5 -5      ws-axis/c/tests/auto_build/testcases/client/cpp/InteropTestRound1Client.cpp
  
  Index: InteropTestRound1Client.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/client/cpp/InteropTestRound1Client.cpp,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- InteropTestRound1Client.cpp	23 Mar 2005 15:45:06 -0000	1.5
  +++ InteropTestRound1Client.cpp	29 Mar 2005 09:23:14 -0000	1.6
  @@ -79,11 +79,11 @@
   		printf("failed\n");
   	// testing echoIntegerArray 
   	xsd__int_Array arrint;
  -	arrint.m_Array = new int[ARRAYSIZE];
  -	arrint.m_Size = ARRAYSIZE;
  +	*(arrint.m_Array) = new int[ARRAYSIZE];
  +        arrint.m_Size = ARRAYSIZE;
   	for (x=0;x<ARRAYSIZE;x++)
   	{
  -		arrint.m_Array[x] = x;
  +		 *(arrint.m_Array[x]) = x;
   	}
   	printf("invoking echoIntegerArray...\n");
   	if (ws.echoIntegerArray(arrint).m_Array != NULL)
  @@ -99,11 +99,11 @@
   		printf("failed\n");
   	// testing echoFloat 
   	xsd__float_Array arrfloat;
  -	arrfloat.m_Array = new float[ARRAYSIZE];
  +	 *(arrfloat.m_Array) = new float[ARRAYSIZE];
   	arrfloat.m_Size = ARRAYSIZE;
   	for (x=0;x<ARRAYSIZE;x++)
   	{
  -		arrfloat.m_Array[x] = 1.1111*x;
  +		 *(arrfloat.m_Array[x]) = 1.1111*x;
   	}
   	printf("invoking echoFloatArray...\n");
   	if (ws.echoFloatArray(arrfloat).m_Array != NULL)