/*
*******************************************************************************
*
-* Copyright (C) 1998-2011, International Business Machines
+* Copyright (C) 1998-2012, International Business Machines
* Corporation and others. All Rights Reserved.
*
*******************************************************************************
#include "cstring.h"
#include "unicode/ustring.h"
#include "unicode/putil.h"
+#include "unicode/utf16.h"
/* Protos */
static void ustr_resize(struct UString *s, int32_t len, UErrorCode *status);
if(src->fChars == NULL || dst->fChars == NULL){
return;
}
- uprv_memcpy(dst->fChars, src->fChars, sizeof(UChar) * src->fLength);
+ u_memcpy(dst->fChars, src->fChars, src->fLength);
dst->fLength = src->fLength;
dst->fChars[dst->fLength] = 0x0000;
}