From fd7b507d191ef04d13f69d9f1e3bdeb52983a7fc Mon Sep 17 00:00:00 2001 From: robocop Date: Wed, 5 Jan 2005 02:06:31 +0000 Subject: [PATCH] More constants. --- src/gpre/gpre.cpp | 1 + src/gpre/gpre.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gpre/gpre.cpp b/src/gpre/gpre.cpp index cc69dc91c8..06b24a9f62 100644 --- a/src/gpre/gpre.cpp +++ b/src/gpre/gpre.cpp @@ -844,6 +844,7 @@ int main(int argc, char* argv[]) } if (renamed) { + // Warning: modifying program's args. TEXT* p; for (p = out_file_name; *p; p++); #ifdef VMS diff --git a/src/gpre/gpre.h b/src/gpre/gpre.h index 708e0aa6fb..8f50161e0f 100644 --- a/src/gpre/gpre.h +++ b/src/gpre/gpre.h @@ -1490,7 +1490,7 @@ struct GpreGlobals{ TEXT ada_package[256]; const TEXT* ada_null_address; DBB isc_databases; - TEXT* default_user; + const TEXT* default_user; TEXT* default_password; const TEXT* default_lc_ctype; gpre_req* requests;