projects
/
psqlodbc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47667df
)
Explicitly cast the strchr() return value to stop VC++ 2k5 bleating about losing...
author
Dave Page
<dpage@pgadmin.org>
Thu, 31 Aug 2006 08:24:18 +0000
(08:24 +0000)
committer
Dave Page
<dpage@pgadmin.org>
Thu, 31 Aug 2006 08:24:18 +0000
(08:24 +0000)
pgxalib.cpp
patch
|
blob
|
blame
|
history
diff --git
a/pgxalib.cpp
b/pgxalib.cpp
index a1609da6efe118341ef70b70629fb2882a51e5fc..88f168bd75f1e42e5b666dd8f0cd3f2e290fc347 100755
(executable)
--- a/
pgxalib.cpp
+++ b/
pgxalib.cpp
@@
-388,7
+388,7
@@
static int TextToXid(XID &xid, const char *rtext)
char *sptr;
slen = strlen(rtext);
- sptr = strchr(rtext, '-');
+ sptr =
(char *)
strchr(rtext, '-');
if (sptr)
{
glen = (int) (sptr - rtext);