summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-02-07 19:55:12 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-02-07 19:55:12 +0000
commit028bf79431c6f45a3b237de5bd7e2923ad908809 (patch)
tree559593b5c3bb014465ce15a66ea98d75f6c97e07
parent5105466bef04d7685f9f0cd890c93005fafc117a (diff)
downloadATCD-028bf79431c6f45a3b237de5bd7e2923ad908809.tar.gz
declare struct member as const char * instead of const char [] to allow initialization
-rw-r--r--examples/IPC_SAP/TLI_SAP/db-server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/IPC_SAP/TLI_SAP/db-server.cpp b/examples/IPC_SAP/TLI_SAP/db-server.cpp
index 83cf8d1e31a..0323b686320 100644
--- a/examples/IPC_SAP/TLI_SAP/db-server.cpp
+++ b/examples/IPC_SAP/TLI_SAP/db-server.cpp
@@ -24,7 +24,7 @@ lookup_name (ACE_HANDLE handle)
static struct
{
int emp_id;
- const char emp_name[EMPNAMELEN];
+ const char *emp_name;
} employee_db[] =
{
{123, "John Wayne Bobbit"},