Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
c03e7fba
Commit
c03e7fba
authored
Feb 18, 2002
by
Hiroshi Inoue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove compile warnings in multibute mode.
parent
fbcc0d69
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/interfaces/odbc/multibyte.c
src/interfaces/odbc/multibyte.c
+2
-2
src/interfaces/odbc/multibyte.h
src/interfaces/odbc/multibyte.h
+1
-1
No files found.
src/interfaces/odbc/multibyte.c
View file @
c03e7fba
...
...
@@ -15,7 +15,7 @@ int multibyte_status; /* Multibyte Odds and ends character. */
unsigned
char
*
multibyte_strchr
(
unsigned
char
*
s
,
unsigned
char
c
)
multibyte_strchr
(
const
unsigned
char
*
s
,
unsigned
char
c
)
{
int
mb_st
=
0
,
i
=
0
;
...
...
@@ -56,7 +56,7 @@ multibyte_strchr(unsigned char *s, unsigned char c)
#ifdef _DEBUG
qlog
(
"i = %d
\n
"
,
i
);
#endif
return
(
s
+
i
);
return
(
char
*
)
(
s
+
i
);
}
...
...
src/interfaces/odbc/multibyte.h
View file @
c03e7fba
...
...
@@ -36,4 +36,4 @@ extern int multibyte_status; /* Multibyte charcter status. */
void
multibyte_init
(
void
);
unsigned
char
*
check_client_encoding
(
unsigned
char
*
str
);
int
multibyte_char_check
(
unsigned
char
s
);
unsigned
char
*
multibyte_strchr
(
unsigned
char
*
s
,
unsigned
char
c
);
unsigned
char
*
multibyte_strchr
(
const
unsigned
char
*
s
,
unsigned
char
c
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment