[DBD::Pg] Minor casting tweak

dbdpg-commits-gENoVmVU/[email protected] Wed, 20 Nov 2013 22:39:54 -0500
Newsgroups gmane.comp.db.postgresql.dbdpg.cvs
Message-ID <[email protected]>
Committed by Greg Sabino Mullane <greg-O9fzpki4YnJWk0Htik3J/[email protected]>

Minor casting tweak

---
 quote.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/quote.c b/quote.c
index f66f007..cc5ac13 100644
--- a/quote.c
+++ b/quote.c
@@ -329,7 +329,7 @@ char * quote_float(char *string, STRLEN len, STRLEN *retlen, int estring)
 	if (len<1)
 		croak("Invalid float");
 
-	result = string;
+	result = (char*)string;
 	*retlen = len;
 
 	/* Allow some standard strings in */
-- 
1.8.4