Setting const variable with no type to 'int' (likely the default the
authorPeter Howkins <flibble@users.sourceforge.net>
Mon, 12 Mar 2012 15:14:12 +0000 (15:14 +0000)
committerPeter Howkins <flibble@users.sourceforge.net>
Mon, 12 Mar 2012 15:14:12 +0000 (15:14 +0000)
old compilers would have used)

cde/programs/dtprintinfo/util/Invoke.C

index b152b1cbdac27bdda497e38cd5ec73ca311f2a47..590adb7c2ee6fdf61914e7941b37ac8697eda345 100644 (file)
@@ -43,7 +43,7 @@
 #include <strings.h>           /* need to get bzero defined */
 #endif /* _AIX */
 
-const BUFFER_SIZE = 512;
+const int BUFFER_SIZE = 512;
 
 Invoke::Invoke(const char *command,   // Command to Run
                char **out_ptr,        // ptr to output buffer ptr