[DBD::Pg] This unsigned should be plain old char, as the one it is modifying is simply char
[email protected] Fri, 16 Jan 2015 18:25:30 +0000
| Newsgroups | perl.dbd.pg.changes |
|---|---|
| Message-ID | <[email protected]> |
Committed by Greg Sabino Mullane <[email protected]> This unsigned should be plain old char, as the one it is modifying is simply char --- dbdimp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbdimp.c b/dbdimp.c index cb42ce6..6a64487 100644 --- a/dbdimp.c +++ b/dbdimp.c @@ -1996,7 +1996,7 @@ static void pg_st_split_statement (pTHX_ imp_sth_t * imp_sth, int version, char */ if ('\\' == oldch && imp_dbh->ph_escaped) { /* copy the placeholder-like character but ignore the backslash */ - unsigned char *p = statement-2; + char *p = statement-2; while(*p++) { *(p-1) = *p; } -- 1.8.4