X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/b75a7d8f3b4adbae880cab104ce2c6a50eee4db2..51004dcb01e06fef634b61be77ed73dd61cb6db9:/icuSources/samples/ucnv/flagcb.c?ds=sidebyside diff --git a/icuSources/samples/ucnv/flagcb.c b/icuSources/samples/ucnv/flagcb.c index b23a9e7b..3344c73f 100644 --- a/icuSources/samples/ucnv/flagcb.c +++ b/icuSources/samples/ucnv/flagcb.c @@ -1,6 +1,6 @@ /******************************************************************** * COPYRIGHT: - * Copyright (c) 1999-2002, International Business Machines Corporation and + * Copyright (c) 1999-2007, International Business Machines Corporation and * others. All Rights Reserved. ********************************************************************/ @@ -45,7 +45,7 @@ U_CAPI void U_EXPORT2 flagCB_fromU( /* The following is the recommended way to implement UCNV_CLONE in a callback. */ UConverterFromUCallback saveCallback; - void *saveContext; + const void *saveContext; FromUFLAGContext *old, *cloned; UErrorCode subErr = U_ZERO_ERROR; @@ -193,7 +193,7 @@ void debugCB_fromU(const void *context, /* see comments in above flagCB clone code */ UConverterFromUCallback saveCallback; - void *saveContext; + const void *saveContext; debugCBContext *cloned; UErrorCode subErr = U_ZERO_ERROR; @@ -286,4 +286,3 @@ debugCBContext *debugCB_openContext() return ctx; } -