Hey,

On Thu, Oct 08, 2015 at 10:18:08AM +0200, Christophe Fergeau wrote:
> red_replay_qxl.c stores some pointers QXLPHYSICAL data members (ie
> uint64_t), and then needs to free them, so the cast is required.
> ---
>  cfg.mk | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/cfg.mk b/cfg.mk
> index 7cf1d58..c935327 100644
> --- a/cfg.mk
> +++ b/cfg.mk
> @@ -150,3 +150,5 @@ exclude_file_name_regexp--sc_trailing_blank = 
> ^common/win/my_getopt-1.5/getopt.3
>  exclude_file_name_regexp--sc_unmarked_diagnostics = ^.*\.(c|py|h)
>  
>  exclude_file_name_regexp--sc_prohibit_path_max_allocation = 
> server/tests/test_display_base.c
> +
> +exclude_file_name_regexp--sc_cast_of_argument_to_free = 
> server/red_replay_qxl.c

Looks good.
_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to