projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aabf0be
)
the actual fix for width of string ID representation
2.0beta4
author
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 3 Oct 2006 19:59:07 +0000
(19:59 +0000)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 3 Oct 2006 19:59:07 +0000
(19:59 +0000)
git-svn-id: svn://localhost/ardour2/trunk@941
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
libs/pbd/id.cc
patch
|
blob
|
history
diff --git
a/libs/pbd/id.cc
b/libs/pbd/id.cc
index ab7806873ebb54fed9852d27cb1a53505fcfc785..c99e242beecbeab81db0be8472236373576b6240 100644
(file)
--- 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);
}