Skip to content

Commit c8481e8

Browse files
author
Martin Verzilli
authoredJan 10, 2017
Merge pull request #3866 from crystal-lang/fix-debug-dwarf-line-numbers-musl-x86
Fix: Debug::DWARF::LineNumbers on musl-libc (x86)
2 parents 7865abf + 41cb33c commit c8481e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/debug/dwarf/line_numbers.cr

+2-2
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ module Debug
125125
#
126126
# :nodoc:
127127
struct Sequence
128-
property! offset : LibC::Long
128+
property! offset : LibC::OffT
129129
property! unit_length : UInt32
130130
property! version : UInt16
131131
property! header_length : UInt32 # FIXME: UInt64 for DWARF64 (uncommon)
@@ -169,7 +169,7 @@ module Debug
169169
# The array of indexed file names.
170170
getter files : Array(String)
171171

172-
@offset : LibC::Long
172+
@offset : LibC::OffT
173173

174174
def initialize(@io : IO::FileDescriptor, size)
175175
@offset = @io.tell

0 commit comments

Comments
 (0)
Please sign in to comment.