From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hollis Blanchard Subject: sched_sedf printf formatting warnings Date: Mon, 09 May 2005 16:44:02 -0500 Message-ID: <427FD9A2.4070106@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org With the new sched_sedf.c, I get a whole host of these: sched_sedf.c: In function `extraq_add_sort_update': sched_sedf.c:183: warning: long long int format, s_time_t arg (arg 5) sched_sedf.c: In function `__del_from_queue': sched_sedf.c:269: warning: long long unsigned int format, s_time_t arg (arg 4) [...] And since we have -Wall -Werror, the build fails. Not sure what the right fix is here. I think Linux defined its own %z for size_t printf arguments... Of course, there is always casting. -- Hollis Blanchard IBM Linux Technology Center