Hello.

I'm programming with codewarrior 7.0 ,and I have one problem with the a
function "SysBatteryInfo".

The program's source is:
  ........
   SysBatteryKind  kind;
   UInt16  voltage, warn, critical, timeout;
   UInt8   percent;
   Boolean plugged;

   voltage = SysBatteryInfo(false, &warn, &critical,
                      &timeout, &kind, &plugged, &percent);

  .......

When I make with codewarrior 7.0,I have this error

"  Error : illegal implicit conversion from 'unsigned short *' to
   'short *'        &timeout,&kind,&plugged,&percent);"

Why this error of conversion? if In lite codewarrior I haven't this error..











_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to