summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libpqpp/command.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpqpp/command.cpp b/libpqpp/command.cpp
index f8dad14..fa2dc1d 100644
--- a/libpqpp/command.cpp
+++ b/libpqpp/command.cpp
@@ -5,7 +5,7 @@
static std::string addrStr(void * p, unsigned int no) {
std::string r;
- r.resize(30);
+ r.resize(50);
r.resize(snprintf(const_cast<char *>(r.c_str()), 30, "pStatement_%u_%p", no, p));
return r;
}