aboutsummaryrefslogtreecommitdiff
path: root/src/common/unicode_norm.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2019-01-29 01:12:18 +0100
committerPeter Eisentraut <peter@eisentraut.org>2019-02-13 11:50:09 +0100
commitcf40dc65b676c8df1ee12f060b40f0e37a183e04 (patch)
treeeb0b91031dd3c02ff92d582df9b5846fcf2341cd /src/common/unicode_norm.c
parent6ea95166a0f19ca0363b9c868e676b10365edec9 (diff)
downloadpostgresql-cf40dc65b676c8df1ee12f060b40f0e37a183e04.tar.gz
postgresql-cf40dc65b676c8df1ee12f060b40f0e37a183e04.zip
Remove useless casts
Some of these were uselessly casting away "const", some were just nearby, but they where all unnecessary anyway. Discussion: https://www.postgresql.org/message-id/flat/53a28052-f9f3-1808-fed9-460fd43035ab%402ndquadrant.com
Diffstat (limited to 'src/common/unicode_norm.c')
-rw-r--r--src/common/unicode_norm.c2
1 files changed, 1 insertions, 1 deletions
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);