From 8b7c274c4678ebe7a80b9ae42b1b1a2624b37482 Mon Sep 17 00:00:00 2001 From: mwsohn Date: Thu, 7 May 2020 21:56:32 -0400 Subject: [PATCH] Update DataFrame_tools.jl --- src/DataFrame_tools.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DataFrame_tools.jl b/src/DataFrame_tools.jl index 6fff792..a362fa0 100644 --- a/src/DataFrame_tools.jl +++ b/src/DataFrame_tools.jl @@ -402,7 +402,7 @@ function _read_dta(io, release, rlen, len, nvar,varlist,typelist,fmtlist,numskip v = read(io,Int32) o = read(io,Int32) elseif release == 118 - z = read(io,UInt8,8) + z = read(io,8) v = reinterpret(Int16,z[1:2])[1] o = (reinterpret(Int64,z)[1] >> 16) end