project_files/hwc/rtl/pas2c.h
changeset 10128 0f6878b5395a
parent 10127 7f29a65aa1e4
child 10131 4b4a043111f4
--- a/project_files/hwc/rtl/pas2c.h	Mon Feb 10 00:43:03 2014 +0400
+++ b/project_files/hwc/rtl/pas2c.h	Mon Feb 10 23:02:49 2014 +0400
@@ -7,7 +7,7 @@
 #include <math.h>
 
 #define MAX_PARAMS 64
-#define MAX_ANSISTRING_LENGTH 16384
+#define MAX_ANSISTRING_LENGTH 16383
 
 typedef union string255_
     {
@@ -28,7 +28,7 @@
         };
         struct {
             unsigned char _dummy2;
-            unsigned char s[MAX_ANSISTRING_LENGTH];
+            unsigned char s[MAX_ANSISTRING_LENGTH + 1];
         };
         struct {
             uint16_t len;