mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 17:24:01 +00:00
parent
1393face12
commit
31871cc14f
1 changed files with 1 additions and 1 deletions
|
@ -945,7 +945,7 @@ uspoof_swap(const UDataSwapper *ds, const void *inData, int32_t length, void *ou
|
|||
uint32_t magic = ds->readUInt32(spoofDH->fMagic);
|
||||
ds->writeUInt32((uint32_t *)&outputDH->fMagic, magic);
|
||||
|
||||
if (outputDH->fFormatVersion != spoofDH->fFormatVersion) {
|
||||
if (inBytes != outBytes) {
|
||||
uprv_memcpy(outputDH->fFormatVersion, spoofDH->fFormatVersion, sizeof(spoofDH->fFormatVersion));
|
||||
}
|
||||
// swap starting at fLength
|
||||
|
|
Loading…
Add table
Reference in a new issue