X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4b84311a447b8df710ac221d38e53aa11f1392d1..7760051f27b3f96f5dccd07c3509d27abefb0bc9:/src/gtk1/clipbrd.cpp diff --git a/src/gtk1/clipbrd.cpp b/src/gtk1/clipbrd.cpp index f9d56bf0f8..9f06257b3d 100644 --- a/src/gtk1/clipbrd.cpp +++ b/src/gtk1/clipbrd.cpp @@ -257,7 +257,7 @@ selection_handler( GtkWidget *WXUNUSED(widget), // It shall return the time which was used to set the data. if (selection_data->target == g_timestampAtom) { - uint timestamp = GPOINTER_TO_UINT (signal_data); + guint timestamp = GPOINTER_TO_UINT (signal_data); gtk_selection_data_set(selection_data, GDK_SELECTION_TYPE_INTEGER, 32, @@ -298,7 +298,7 @@ selection_handler( GtkWidget *WXUNUSED(widget), GDK_SELECTION_TYPE_STRING, 8 * sizeof(gchar), (unsigned char*) d, - size-1 ); + size ); free(d); }