[beast: 20/29] BEAST: fix FFTSize enum value to int64 conversion



commit 270eab4e74c585e936c63775b6ccdfc8d21a0ad1
Author: Tim Janik <timj gnu org>
Date:   Tue Feb 2 23:38:52 2016 +0100

    BEAST: fix FFTSize enum value to int64 conversion
    
    Signed-off-by: Tim Janik <timj gnu org>

 beast-gtk/bstscrollgraph.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/beast-gtk/bstscrollgraph.cc b/beast-gtk/bstscrollgraph.cc
index 6c23c29..f5b8a21 100644
--- a/beast-gtk/bstscrollgraph.cc
+++ b/beast-gtk/bstscrollgraph.cc
@@ -77,7 +77,7 @@ bst_scrollgraph_set_property (GObject      *object,
       gtk_widget_queue_draw (widget);
       break;
     case PROP_WINDOW_SIZE:
-      self->window_size = Rapicorn::Aida::enum_value_from_string<Bst::FFTSize> (sfi_value_get_choice 
(value));
+      self->window_size = int64 (Rapicorn::Aida::enum_value_from_string<Bst::FFTSize> (sfi_value_get_choice 
(value)));
       bst_scrollgraph_resize_values (self, self->direction);
       gtk_widget_queue_resize (widget);
       break;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]