Re: cast pid_t to int when using *printf

From: Neil Conway <neilc(at)samurai(dot)com>
To: Oliver Jowett <oliver(at)opencloud(dot)com>
Cc: pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: cast pid_t to int when using *printf
Date: 2004-09-24 07:00:34
Message-ID: 1096009234.25688.526.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

On Fri, 2004-09-24 at 16:51, Oliver Jowett wrote:
> gcc (3.2.3 on Solaris 9) warns about a couple of places where a pid_t is
> formatted with %d by a printf-family function.

For curiosity's sake, what formatting escape does gcc prefer?

-Neil

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Oliver Jowett 2004-09-24 07:34:56 Re: cast pid_t to int when using *printf
Previous Message Oliver Jowett 2004-09-24 06:51:51 cast pid_t to int when using *printf