[FFmpeg-devel] [PATCH 2/5] all: fix incorrect usage of %p format specifier

wm4 nfxjfg at googlemail.com
Sat Oct 24 17:09:30 CEST 2015


On Sat, 24 Oct 2015 09:35:48 -0400
Ganesh Ajjanagadde <gajjanag at mit.edu> wrote:

> Hi all,
> 
> Apologies for the copy/pasted patch, but can't send via send-email.
> Copy pasted for review below, attached also for a non-clobbered
> version.
> 
> ----------------------------------------------------------------------------------
> 
> From 99cd052b614553757efa1954bf8bf4dd3caf66d0 Mon Sep 17 00:00:00 2001
> From: Ganesh Ajjanagadde <gajjanagadde at gmail.com>
> Date: Fri, 23 Oct 2015 11:59:40 -0400
> Subject: [PATCH 2/5] all: fix incorrect usage of %p format specifier
> 
> ISO C %p format specifier applies to void * data pointers. This casts
> relevant pointers to void * in order to be strictly correct C.
> 
> Found by -Wpedantic on clang 3.7 (in particular -Wformat-pedantic).
> 
> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde at gmail.com>

Utterly pointless and ugly.


More information about the ffmpeg-devel mailing list