diff --git a/gst/gsturi.c b/gst/gsturi.c index 44c8f45938..020cea9917 100644 --- a/gst/gsturi.c +++ b/gst/gsturi.c @@ -231,7 +231,7 @@ unescape_character (const char *scanner) return -1; } - second_digit = hex_to_int (*scanner++); + second_digit = hex_to_int (*scanner); if (second_digit < 0) { return -1; } diff --git a/gst/gstvalue.c b/gst/gstvalue.c index 0e4322de86..7286a97c11 100644 --- a/gst/gstvalue.c +++ b/gst/gstvalue.c @@ -1910,7 +1910,7 @@ gst_string_unwrap (const gchar * s) goto beach; /* null terminate result string and return */ - *write++ = '\0'; + *write = '\0'; return ret; beach: