cast pid_t to int when using *printf

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: pgsql-patches(at)postgresql(dot)org
Subject: cast pid_t to int when using *printf
Date: 2004-09-24 06:51:51
Message-ID: 4153C407.8000005@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

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. This patch explicitly
casts to int to suppress the warning.

-O

Attachment Content-Type Size
pgsql-printf-warnings.txt text/plain 1.8 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Neil Conway 2004-09-24 07:00:34 Re: cast pid_t to int when using *printf
Previous Message Oliver Jowett 2004-09-24 06:39:12 Support LDFLAGS_SL on most ports