diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2006-10-03 19:59:07 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2006-10-03 19:59:07 +0000 |
commit | a1695a570f8a6ab6cbf90e3939284f2c47cca146 (patch) | |
tree | 0e88efffa5b99dc43f54d2cf47a4a58d8df1540c | |
parent | aabf0be5a934f098d98ca83abb2209685d9b8ead (diff) |
the actual fix for width of string ID representation2.0beta4
git-svn-id: svn://localhost/ardour2/trunk@941 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | libs/pbd/id.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/pbd/id.cc b/libs/pbd/id.cc index ab7806873e..c99e242bee 100644 --- a/libs/pbd/id.cc +++ b/libs/pbd/id.cc @@ -43,12 +43,12 @@ void ID::print (char* buf) const { /* XXX sizeof buf is unknown. bad API design */ - snprintf (buf, 16, "%" PRIu64, _id); + snprintf (buf, 32, "%" PRIu64, _id); } string ID::to_s() const { - char buf[16]; // see print() + char buf[32]; // see print() print(buf); return string(buf); } |