Ticket #1065 (closed defect: fixed)

Opened 17 months ago

Last modified 17 months ago

[PATCH] Incorrect format on the third actual argument of the 'fprintf' function. The SIGNED integer type argument is expected.

Reported by: Echelon9 Owned by:
Priority: Should Have Milestone: Alpha 9
Component: Core engine Keywords: review
Cc:

Description

Within the ScriptingInterface?.cpp file, two occurrences of a format string expecting signed ints when the data itself is an unsigned int.

Proposed fix attached for the two cases in this file.

Attachments

printf_signedness-fix.patch (798 bytes) - added by Echelon9 17 months ago.
Proposed fix for ScriptingInterface?.cpp

Change History

Changed 17 months ago by Echelon9

Proposed fix for ScriptingInterface?.cpp

comment:1 Changed 17 months ago by feneur

  • Milestone changed from Alpha 8 to Alpha 9

comment:2 Changed 17 months ago by philip

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

(In [10823]) Fix #1065 (incorrect printf format string), based on patch by Echelon9

Note: See TracTickets for help on using tickets.