[FIX?] file utrace.c, lines 233 and 341.
Ruslan Zasukhin <[email protected]> Sat, 20 Nov 2004 14:58:14 +0200
| Newsgroups | gmane.comp.lib.icu.general |
|---|---|
| Message-ID | <BDC50C06.23D78%[email protected]> |
Hi All,
In file utrace.c at lines 233 and 341
We can see call
outputUString((const unsigned short *)ptrArg, intArg, outBuf, &outIx,
capacity, indent);
But function is declared as
static void outputUString(const UChar *s, int32_t len,
char *outBuf, int32_t *outIx, int32_t capacity, int32_t indent)
* So I wonder why above is used (const unsigned short *)ptrArg, ?
* This do NOT compiles with my CodeWarrior for MACHO target,
It says cannot convert ushort* into int*.
* If I change it as
outputUString((const UChar *)ptrArg, intArg, outBuf,
then CW compiles.
Also interesting is that
1) this code works for all others as I understand.
2) this code works with CodeWarrior for CARBON target.
But not with MACHO BSD target.
--
Best regards,
Ruslan Zasukhin [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: [email protected]
web: http://www.paradigmasoft.com
To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------