xalan-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbert...@apache.org
Subject cvs commit: xml-xalan/c/samples/SimpleXPathCAPI SimpleXPathCAPI.c
Date Fri, 28 Sep 2001 15:54:55 GMT
dbertoni    01/09/28 08:54:55

  Modified:    c/samples/SimpleXPathCAPI SimpleXPathCAPI.c
  Log:
  Tidied up a bit.
  
  Revision  Changes    Path
  1.2       +2 -2      xml-xalan/c/samples/SimpleXPathCAPI/SimpleXPathCAPI.c
  
  Index: SimpleXPathCAPI.c
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/samples/SimpleXPathCAPI/SimpleXPathCAPI.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SimpleXPathCAPI.c	2001/09/28 15:19:13	1.1
  +++ SimpleXPathCAPI.c	2001/09/28 15:54:55	1.2
  @@ -76,7 +76,7 @@
   			{
   				fseek(theFile, SEEK_SET, 0);
   
  -				theBuffer = malloc(theSize + 1);
  +				theBuffer = (char*)malloc(theSize + 1);
   
   				if (theBuffer == 0)
   				{
  @@ -192,4 +192,4 @@
   	}
   
   	return theResult;
  -};
  +}
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org


Mime
View raw message