# HG changeset patch # User al # Date 1353973356 0 # Node ID 14aeceb6c267047e817d75049ac8186b0c0811c6 # Parent 0c18f01f65a55f4237fa16466172363157985a9f stream ftp: Remove unneeded cast At worst these kind of casts can hide real errors. As it is, it is just not needed at all, thus remove it. diff -r 0c18f01f65a5 -r 14aeceb6c267 stream/stream_ftp.c --- a/stream/stream_ftp.c Mon Nov 26 23:39:56 2012 +0000 +++ b/stream/stream_ftp.c Mon Nov 26 23:42:36 2012 +0000 @@ -413,7 +413,7 @@ static int open_f(stream_t *stream,int mode, void* opts, av_unused int* file_format) { int resp; int64_t len = 0; - struct stream_priv_s* p = (struct stream_priv_s*)opts; + struct stream_priv_s* p = opts; char rsp_txt[256]; if(mode != STREAM_READ) {