Skip to content

Commit 6c278c6

Browse files
committed
fix comments
1 parent b3a5a4c commit 6c278c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ExtensionCodec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export type TimeSpec = {
1111
nsec: number;
1212
};
1313

14-
const TIMESTAMP32_MAX_SEC = 0x100000000; // 32-bit signed int
14+
const TIMESTAMP32_MAX_SEC = 0x100000000; // 32-bit unsigned int
1515
const TIMESTAMP64_MAX_SEC = 0x400000000; // 34-bit unsigned int
1616

1717
export function encodeTimestampFromTimeSpec({ sec, nsec }: TimeSpec): Uint8Array {

0 commit comments

Comments
 (0)