summaryrefslogtreecommitdiffstats
path: root/src/SinkInputWindow.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/SinkInputWindow.cc')
-rw-r--r--src/SinkInputWindow.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SinkInputWindow.cc b/src/SinkInputWindow.cc
index ffd1791..9a07304 100644
--- a/src/SinkInputWindow.cc
+++ b/src/SinkInputWindow.cc
@@ -59,7 +59,7 @@ SinkInputWindow* SinkInputWindow::create() {
}
void SinkInputWindow::updateInfo(const SinkInputInfo &i) {
- char t[80], ss[PA_SAMPLE_SNPRINT_MAX_LENGTH];
+ char t[80], ss[PA_SAMPLE_SPEC_SNPRINT_MAX];
double percent, db;
nameLabel->set_text(i.name);