diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/catalog/heap.c | 2 | ||||
-rw-r--r-- | src/common/unicode_norm.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/catalog/heap.c b/src/backend/catalog/heap.c index 06d18a1cfbe..d0215a5eed0 100644 --- a/src/backend/catalog/heap.c +++ b/src/backend/catalog/heap.c @@ -777,7 +777,7 @@ AddNewAttributeTuples(Oid new_rel_oid, { FormData_pg_attribute attStruct; - memcpy(&attStruct, (char *) SysAtt[i], sizeof(FormData_pg_attribute)); + memcpy(&attStruct, SysAtt[i], sizeof(FormData_pg_attribute)); /* Fill in the correct relation OID in the copied tuple */ attStruct.attrelid = new_rel_oid; diff --git a/src/common/unicode_norm.c b/src/common/unicode_norm.c index d5f6d32e0f1..6281f2222fe 100644 --- a/src/common/unicode_norm.c +++ b/src/common/unicode_norm.c @@ -59,7 +59,7 @@ static pg_unicode_decomposition * get_code_entry(pg_wchar code) { return bsearch(&(code), - (void *) UnicodeDecompMain, + UnicodeDecompMain, lengthof(UnicodeDecompMain), sizeof(pg_unicode_decomposition), conv_compare); |