diff options
Diffstat (limited to 'src/backend/utils')
-rw-r--r-- | src/backend/utils/mb/conversion_procs/euc_jp_and_sjis/euc_jp_and_sjis.c | 4 | ||||
-rw-r--r-- | src/backend/utils/mb/conversion_procs/euc_tw_and_big5/euc_tw_and_big5.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/utils/mb/conversion_procs/euc_jp_and_sjis/euc_jp_and_sjis.c b/src/backend/utils/mb/conversion_procs/euc_jp_and_sjis/euc_jp_and_sjis.c index 93493d41514..25791e23e19 100644 --- a/src/backend/utils/mb/conversion_procs/euc_jp_and_sjis/euc_jp_and_sjis.c +++ b/src/backend/utils/mb/conversion_procs/euc_jp_and_sjis/euc_jp_and_sjis.c @@ -54,8 +54,8 @@ static int sjis2mic(const unsigned char *sjis, unsigned char *p, int len, bool n static int mic2sjis(const unsigned char *mic, unsigned char *p, int len, bool noError); static int euc_jp2mic(const unsigned char *euc, unsigned char *p, int len, bool noError); static int mic2euc_jp(const unsigned char *mic, unsigned char *p, int len, bool noError); -static int euc_jp2sjis(const unsigned char *mic, unsigned char *p, int len, bool noError); -static int sjis2euc_jp(const unsigned char *mic, unsigned char *p, int len, bool noError); +static int euc_jp2sjis(const unsigned char *euc, unsigned char *p, int len, bool noError); +static int sjis2euc_jp(const unsigned char *sjis, unsigned char *p, int len, bool noError); Datum euc_jp_to_sjis(PG_FUNCTION_ARGS) diff --git a/src/backend/utils/mb/conversion_procs/euc_tw_and_big5/euc_tw_and_big5.c b/src/backend/utils/mb/conversion_procs/euc_tw_and_big5/euc_tw_and_big5.c index e00a2ca4157..88e0deb5e96 100644 --- a/src/backend/utils/mb/conversion_procs/euc_tw_and_big5/euc_tw_and_big5.c +++ b/src/backend/utils/mb/conversion_procs/euc_tw_and_big5/euc_tw_and_big5.c @@ -41,7 +41,7 @@ PG_FUNCTION_INFO_V1(mic_to_big5); */ static int euc_tw2big5(const unsigned char *euc, unsigned char *p, int len, bool noError); -static int big52euc_tw(const unsigned char *euc, unsigned char *p, int len, bool noError); +static int big52euc_tw(const unsigned char *big5, unsigned char *p, int len, bool noError); static int big52mic(const unsigned char *big5, unsigned char *p, int len, bool noError); static int mic2big5(const unsigned char *mic, unsigned char *p, int len, bool noError); static int euc_tw2mic(const unsigned char *euc, unsigned char *p, int len, bool noError); |