summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gst/realmedia/realhash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/realmedia/realhash.c b/gst/realmedia/realhash.c
index 97b1390f..4a18189c 100644
--- a/gst/realmedia/realhash.c
+++ b/gst/realmedia/realhash.c
@@ -292,7 +292,7 @@ gst_rtsp_ext_real_calc_response_and_checksum (char *response, char *chksum,
/* calculate response */
call_hash (field, buf, 64);
memset (buf1, 0, 64);
- *buf1 = 128;
+ *buf1 = (char) 128;
memcpy (buf2, field + 16, 8);
i = (LE_32 ((buf2)) >> 3) & 0x3f;
if (i < 56)