Re: cast pid_t to int when using *printf

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Peter Eisentraut" <peter_e(at)gmx(dot)net>, "Oliver Jowett" <oliver(at)opencloud(dot)com>
Cc: "Neil Conway" <neilc(at)samurai(dot)com>, "pgsql-patches" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: cast pid_t to int when using *printf
Date: 2004-09-24 09:06:23
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE475D3C@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

> (Btw., the Windows port defines pid_t as unsigned long;
> that's surely wrong.)

In what way is that wrong? A PID on Windows is a DWORD, which is an
unsigned long. Or am I missing something (probably..)?

//Magnus

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Peter Eisentraut 2004-09-24 09:30:07 Re: cast pid_t to int when using *printf
Previous Message Peter Eisentraut 2004-09-24 08:56:17 Re: cast pid_t to int when using *printf