--- a/pidgin/plugins/gestures/stroke.c Mon Dec 21 15:05:58 2015 -0500
+++ b/pidgin/plugins/gestures/stroke.c Mon Dec 21 15:12:18 2015 -0500
@@ -197,7 +197,7 @@
if (metrics->point_count < GSTROKE_MAX_POINTS) {
- new_point_p = (p_point) g_malloc (sizeof (struct s_point));
+ new_point_p = g_malloc(sizeof (struct s_point)); if (metrics->pointList == NULL) {
@@ -239,7 +239,7 @@
if (((gint) iy) > metrics->max_y) metrics->max_y = (gint) iy;
- new_point_p = (p_point) malloc (sizeof(struct s_point));
+ new_point_p = malloc(sizeof(struct s_point)); } else { /* same thing, but for dely larger than delx case... */
@@ -263,7 +263,7 @@
if (((gint) iy) > metrics->max_y) metrics->max_y = (gint) iy;
- new_point_p = (p_point) malloc (sizeof(struct s_point));
+ new_point_p = malloc(sizeof(struct s_point));