Fixed type of stack trace variables.
Merge pull request #2199 from akallabeth/backtrace_fix

Fixed type of stack trace variables.