[ardour-dev] [PATCH] void->int casts on 64-bit-pointer arches
Robert Jordens
rjo-lists at gmx.de
Sat Aug 13 02:58:14 PDT 2005
Hi!
A small patch to fix some cast issues on 64 bit architectures.
Robert.
--
The universe is all a spin-off of the Big Bang.
-------------- next part --------------
Index: ardour-0.9beta29/gtk_ardour/utils.cc
===================================================================
--- ardour-0.9beta29.orig/gtk_ardour/utils.cc 2005-03-21 16:32:22.000000000 +0100
+++ ardour-0.9beta29/gtk_ardour/utils.cc 2005-08-08 14:01:43.000000000 +0200
@@ -462,11 +462,11 @@
/* already collapsed: restore it */
- pane->set_position ((gint) pane->get_data ("rpos"));
+ pane->set_position ((glong) pane->get_data ("rpos"));
} else {
- int collapse_direction;
+ long collapse_direction;
/* store the current position */
@@ -474,7 +474,7 @@
/* collapse to show the relevant child in full */
- collapse_direction = (int) pane->get_data ("collapse-direction");
+ collapse_direction = (long) pane->get_data ("collapse-direction");
if (collapse_direction) {
pane->set_position (1);
More information about the Ardour-Dev
mailing list