diff options
author | Sampo Savolainen <v2@iki.fi> | 2007-07-19 07:09:29 +0000 |
---|---|---|
committer | Sampo Savolainen <v2@iki.fi> | 2007-07-19 07:09:29 +0000 |
commit | fdfa8a0d9372693eab36428829dd23866f5f8b4b (patch) | |
tree | cdc368464c635cd80209db06f110542466a4077f | |
parent | 6351ce92f0678b697e65ddb279bb185c4fa29d75 (diff) |
Fix crossfade editor segfault due to wrong types
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2150 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | gtk2_ardour/canvas-waveview.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/canvas-waveview.h b/gtk2_ardour/canvas-waveview.h index 6a7410546e..30696defd0 100644 --- a/gtk2_ardour/canvas-waveview.h +++ b/gtk2_ardour/canvas-waveview.h @@ -56,7 +56,7 @@ struct _GnomeCanvasWaveViewCache { GnomeCanvasWaveViewCacheEntry* data; gint32 allocated; - gint32 data_size; + gint64 data_size; gulong start; gulong end; }; @@ -77,7 +77,7 @@ struct _GnomeCanvasWaveView void (*peak_function)(void*,gulong,gulong,gulong,gpointer,guint32,double); gulong (*length_function)(void *); gulong (*sourcefile_length_function)(void*,double); - void (*gain_curve_function)(void *arg, double start, double end, float* vector, guint32 veclen); + void (*gain_curve_function)(void *arg, double start, double end, float* vector, gint64 veclen); void *gain_src; /** x-axis: samples per canvas unit. */ |