| OLD | NEW |
| 1 Index: test/cintltst/utexttst.c | 1 Index: test/cintltst/utexttst.c |
| 2 =================================================================== | 2 =================================================================== |
| 3 --- test/cintltst/utexttst.c (revision 29355) | 3 --- test/cintltst/utexttst.c (revision 29355) |
| 4 +++ test/cintltst/utexttst.c (revision 29356) | 4 +++ test/cintltst/utexttst.c (revision 29356) |
| 5 @@ -1,6 +1,6 @@ | 5 @@ -1,6 +1,6 @@ |
| 6 /******************************************************************** | 6 /******************************************************************** |
| 7 * COPYRIGHT: | 7 * COPYRIGHT: |
| 8 - * Copyright (c) 2005-2009, International Business Machines Corporation and | 8 - * Copyright (c) 2005-2009, International Business Machines Corporation and |
| 9 + * Copyright (c) 2005-2011, International Business Machines Corporation and | 9 + * Copyright (c) 2005-2011, International Business Machines Corporation and |
| 10 * others. All Rights Reserved. | 10 * others. All Rights Reserved. |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 // Pins 'start' to the length of the string, if it came in out-of-bounds. | 67 // Pins 'start' to the length of the string, if it came in out-of-bounds. |
| 68 // Snaps 'start' to the beginning of a code point. | 68 // Snaps 'start' to the beginning of a code point. |
| 69 ucstrTextAccess(ut, start, TRUE); | 69 ucstrTextAccess(ut, start, TRUE); |
| 70 - U_ASSERT(start <= INT32_MAX); | 70 - U_ASSERT(start <= INT32_MAX); |
| 71 - start32 = (int32_t)start; | 71 - start32 = (int32_t)start; |
| 72 + const UChar *s=ut->chunkContents; | 72 + const UChar *s=ut->chunkContents; |
| 73 + start32 = ut->chunkOffset; | 73 + start32 = ut->chunkOffset; |
| 74 | 74 |
| 75 int32_t strLength=(int32_t)ut->a; | 75 int32_t strLength=(int32_t)ut->a; |
| 76 if (strLength >= 0) { | 76 if (strLength >= 0) { |
| OLD | NEW |