Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 292e4c6 commit 4dbbef2Copy full SHA for 4dbbef2
src/backend/utils/mb/wchar.c
@@ -1,7 +1,7 @@
1
/*
2
* conversion functions between pg_wchar and multibyte streams.
3
* Tatsuo Ishii
4
- * $PostgreSQL: pgsql/src/backend/utils/mb/wchar.c,v 1.62 2007/04/15 10:56:25 ishii Exp $
+ * $PostgreSQL: pgsql/src/backend/utils/mb/wchar.c,v 1.63 2007/07/12 21:17:09 tgl Exp $
5
*
6
* WIN1250 client encoding updated by Pavel Behal
7
@@ -280,7 +280,7 @@ static int pg_euctw2wchar_with_len
280
if (*from == SS2 && len >= 4) /* code set 2 */
281
{
282
from++;
283
- *to = (SS2 << 24) | (*from++ << 16);
+ *to = (((uint32) SS2) << 24) | (*from++ << 16);
284
*to |= *from++ << 8;
285
*to |= *from++;
286
len -= 4;
0 commit comments