summaryrefslogtreecommitdiff
path: root/tests/MM_Shared_Memory_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/MM_Shared_Memory_Test.cpp')
-rw-r--r--tests/MM_Shared_Memory_Test.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/MM_Shared_Memory_Test.cpp b/tests/MM_Shared_Memory_Test.cpp
index 6149e201fda..b20083a1d22 100644
--- a/tests/MM_Shared_Memory_Test.cpp
+++ b/tests/MM_Shared_Memory_Test.cpp
@@ -42,13 +42,13 @@ client (void *)
#endif /* ACE_WIN32 */
ACE_OS::sleep (3);
- char *t = ACE_ALPHABET;
+ char t = 'a';
ACE_Shared_Memory_MM shm_client (shm_key);
char *shm = (char *) shm_client.malloc ();
for (char *s = shm; *s != '\0'; s++)
{
- ACE_ASSERT (*t == s[0]);
+ ACE_ASSERT (t == s[0]);
t++;
}
*shm = '*';
@@ -72,8 +72,8 @@ server (void *)
char *shm = (char *) shm_server.malloc ();
char *s = shm;
- for (char *c = ACE_ALPHABET; *c != '\0'; c++)
- *s++ = *c;
+ for (char c = 'a'; c <= 'z'; c++)
+ *s++ = c;
*s = '\0';