]> sigrok.org Git - libsigrok.git/commit
input/vcd: Avoid truncation of shift to 32 bits.
authorDaniel Elstner <redacted>
Mon, 3 Feb 2014 00:54:20 +0000 (01:54 +0100)
committerDaniel Elstner <redacted>
Wed, 5 Feb 2014 00:17:43 +0000 (01:17 +0100)
commitcd1b0e8f7921afc84d582eb4d95ce673912943dd
tree9a03701bf69bedae09acdd16bfb37f795dcacd0a
parent7ad4e2b80b47aab7be54f1efd084b4df7eb1d6b0
input/vcd: Avoid truncation of shift to 32 bits.

(parse_contents): Cast constant 1 to uint64_t before shifting left.
Also fix whitespace errors.
input/vcd.c