[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dvd+rw-tools update [7.1]



Hi,

i downloaded dvd+rw-tools-7.1.tar.gz to my 64 Bit
system and ran make.
This warning appeared

  gcc  -O2 -D_REENTRANT   -c -o growisofs.o growisofs.c
  In file included from growisofs.c:445:
  mp.h: In function '__thread_wait':
  mp.h:59: warning: cast from pointer to integer of different size

I read in mp.h :

  { void *ret;
      if (pthread_join((pthread_t)((size_t)h),&ret)==0)
          return (int)ret;

My compiler setup has: sizeof(int)==4, sizeof(void *)==8
so this is not a trivial warning.
I feel unable to evaluate the consequences of throwing
away half the bits of ret.


Have a nice day :)

Thomas


Reply to: