OSDN Git Service

* generic/gdbtk-stack.c (gdb_get_vars_command): Revise cast of
authorkevinb <kevinb>
Mon, 2 Mar 2009 22:44:33 +0000 (22:44 +0000)
committerkevinb <kevinb>
Mon, 2 Mar 2009 22:44:33 +0000 (22:44 +0000)
`clientData' to avoid build error on 64-bit hosts.

gdb/gdbtk/ChangeLog
gdb/gdbtk/generic/gdbtk-stack.c

index 992b01f..ff3c330 100644 (file)
@@ -1,3 +1,8 @@
+2009-03-02  Kevin Buettner  <kevinb@redhat.com>
+
+       * generic/gdbtk-stack.c (gdb_get_vars_command): Revise cast of
+       `clientData' to avoid build error on 64-bit hosts.
+
 2008-12-16  Denis Pilat  <denis.pilat@st.com> 
        on behalf of Nunzio Raciti  <nunzio.raciti@st.com>
 
index 3f86805..c7bcda2 100644 (file)
@@ -285,7 +285,7 @@ gdb_get_vars_command (ClientData clientData, Tcl_Interp *interp,
       return TCL_ERROR;
     }
 
-  arguments = (int) clientData;
+  arguments = (long) clientData;
 
   /* Initialize the result pointer to an empty list. */