Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#407 closed task (fixed)

acpidaemon traps if warning removed

Reported by: stevenhl Owned by: stevenhl
Priority: minor Milestone: Release version 3.15
Component: Build system Version: 3.14
Keywords: Cc:

Description

Building acpidaemon reports the following

acpidaemon.c acpidaemon.c(367:44) : warning EDC0280: Function argument assignment between types "unsigned short* _Seg16" and "unsigned long*" is not allowed.

Pasha says casting to avoid the warning caused the daemon to trap

Change History (2)

comment:1 Changed 11 years ago by stevenhl

  • Resolution set to fixed
  • Status changed from new to closed

This is corrected by changeset 189

I don't what cast was tried in the past, but the proper case to avoid the warning is

rc = VioPopUp?((PUSHORT _Seg16)&size,0); Attach full screen

This matches what the compiler will do implicitly when calling 16-bit code, such as VioPopUp?.

comment:2 Changed 11 years ago by stevenhl

  • Component changed from ACPI.PSD to Build system
Note: See TracTickets for help on using tickets.