ICU-2753 Use friendlier wording.

X-SVN-Rev: 12018
This commit is contained in:
George Rhoten 2003-05-20 00:13:02 +00:00
parent 066a6ec3f2
commit a3b33cf7dc
2 changed files with 7 additions and 5 deletions

View File

@ -61,8 +61,9 @@ UDataMemory_normalizeDataPointer(const void *p) {
} else {
#ifdef OS400
/*
WARNING! WARNING! WARNING!
This is a hack. This is here because this platform can't properly put
TODO: Fix this once the compiler implements this feature. Keep in sync with genccode.c
This is here because this platform can't currently put
const data into the read-only pages of an object or
shared library (service program). Only strings are allowed in read-only
pages, so we use char * strings to store the data.
@ -71,7 +72,7 @@ UDataMemory_normalizeDataPointer(const void *p) {
magic numbers we must skip the initial double.
[grhoten 4/24/2003]
*/
return (const DataHeader *)*((const char **)((const double *)p+1));
return (const DataHeader *)*((const void **)p+1);
#else
return (const DataHeader *)((const double *)p+1);
#endif

View File

@ -182,8 +182,9 @@ writeCCode(const char *filename, const char *destdir) {
#ifdef OS400
/*
WARNING! WARNING! WARNING!
This is a hack. This is here because this platform can't properly put
TODO: Fix this once the compiler implements this feature. Keep in sync with udatamem.c
This is here because this platform can't currently put
const data into the read-only pages of an object or
shared library (service program). Only strings are allowed in read-only
pages, so we use char * strings to store the data.