R
ramakanta.sinha
Hi,
While typecasting an integer to (void *) the following warning
is found.
warning: cast to pointer from integer of different size.
This is the line where typecasting is done.
fld->base = (void *)(((fld->f90_table_index-1) *
F90_MAX_FLD_SIZE_IN_BYT
ES + 1 ));
fld->base is of type (void *)
((fld->f90_table_index-1) * F90_MAX_FLD_SIZE_IN_BYTES + 1 ) is an
integer.
This is a c++ code, compiled using c++ compiler in altix350.
Waiting for immediate help to resolve the warning.
Thanks in advance,
Rama Kanta Sinha.
While typecasting an integer to (void *) the following warning
is found.
warning: cast to pointer from integer of different size.
This is the line where typecasting is done.
fld->base = (void *)(((fld->f90_table_index-1) *
F90_MAX_FLD_SIZE_IN_BYT
ES + 1 ));
fld->base is of type (void *)
((fld->f90_table_index-1) * F90_MAX_FLD_SIZE_IN_BYTES + 1 ) is an
integer.
This is a c++ code, compiled using c++ compiler in altix350.
Waiting for immediate help to resolve the warning.
Thanks in advance,
Rama Kanta Sinha.