From 2aed78504e9d48713fb6d36f703a00bd76930b1d Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Thu, 18 Apr 2013 22:32:59 +0300 Subject: [PATCH] Silence warning about losing const in "const char *" to "char *" assignment. --- qresult.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qresult.h b/qresult.h index e78f3d3..5c0a39a 100644 --- a/qresult.h +++ b/qresult.h @@ -76,7 +76,7 @@ struct QResultClass_ char sqlstate[8]; char *message; - char *messageref; + const char *messageref; char *cursor_name; /* The name of the cursor for select * statements */ char *command; -- 2.39.5