Opened 12 years ago

Closed 12 years ago

Last modified 8 years ago

#1065 closed defect (fixed)

[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:
Cc: Patch:

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 (1)

printf_signedness-fix.patch (798 bytes ) - added by Echelon9 12 years ago.
Proposed fix for ScriptingInterface.cpp

Download all attachments as: .zip

Change History (4)

by Echelon9, 12 years ago

Attachment: printf_signedness-fix.patch added

Proposed fix for ScriptingInterface.cpp

comment:1 by Erik Johansson, 12 years ago

Milestone: Alpha 8Alpha 9

comment:2 by philip, 12 years ago

Resolution: fixed
Status: newclosed

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

comment:3 by sanderd17, 8 years ago

Keywords: review removed
Note: See TracTickets for help on using tickets.