Skip to content

Commit

Permalink
fix in function NetworkULL2Bin()
Browse files Browse the repository at this point in the history
  • Loading branch information
FiveTechSoft committed Apr 19, 2020
1 parent 2994d06 commit 484c004
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wsserver.prg
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ function NetworkULL2Bin( n )

while nBytesLeft > 0
nBytesLeft -= 8
cBytes += Chr( hb_BitShift( hb_BitShift( n, -nBytesLeft ), 0xFF ) )
cBytes += Chr( hb_BitAnd( hb_BitShift( n, -nBytesLeft ), 0xFF ) )
end

return cBytes
Expand Down

0 comments on commit 484c004

Please sign in to comment.