File: cstrccom.c-01.v6.23-bgfx.diff

package info (click to toggle)
python-clips 1.0.7.348%2Bclips-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,376 kB
  • ctags: 2,544
  • sloc: ansic: 17,065; python: 5,668; sh: 20; makefile: 12
file content (21 lines) | stat: -rw-r--r-- 888 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- ../clipssrc_orig/cstrccom.c	Wed Feb  2 10:45:38 2005
+++ ../clipssrc/cstrccom.c	Sun Jan 22 15:47:58 2006
@@ -29,6 +29,9 @@
 /*                                                           */
 /*            Correction for FalseSymbol/TrueSymbol. DR0859  */
 /*                                                           */
+/*      6.24: Corrected an error when compiling as a C++     */
+/*            file.                                          */
+/*                                                           */
 /*************************************************************/
 
 #define _CSTRCCOM_SOURCE_
@@ -834,7 +837,7 @@
    /* Allocate the name buffer. */
    /*===========================*/
    
-   buffer = genalloc(theEnv,bufferSize);
+   buffer = (char *) genalloc(theEnv,bufferSize);
    
    /*================================*/
    /* Create the multifield value to */