Package: manpages-dev
Version: 3.25-1
Severity: normal

Hi,

a)
when assigning 
int i = pclose(pipeFD);
OR assigning
long i = pclose(pipeFD);
I get a compiler warning like this:
warning: assignment makes integer from pointer without a cast

b)
when assigning
int i = (int) pclose(pipeFD);
I get a compiler warning like this:
warning: cast from pointer to integer of different size

c)
So i tried assigning both
int i = (long) pclose(pipeFD);
and
long i = (long) pclose(pipeFD);
and it worked w/o warnings. So I have to assume the true return type of pclose
is long. Please correct me if I'm wrong, otherwise please update the manpage.

Thanks,

Daniel

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.35.7-1-amd64-dhr (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF8, LC_CTYPE=en_US.UTF8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages manpages-dev depends on:
ii  manpages                      3.25-1     Manual pages about using a GNU/Lin

manpages-dev recommends no packages.

Versions of packages manpages-dev suggests:
ii  man-db [man-browser]          2.5.7-6    on-line manual pager

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to