We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10be25f commit 265c475Copy full SHA for 265c475
apps/sim/app/api/tools/evernote/lib/thrift.ts
@@ -107,7 +107,7 @@ export class ThriftReader {
107
readMessageBegin(): { name: string; type: number; seqId: number } {
108
const versionAndType = this.readI32()
109
const version = versionAndType & 0xffff0000
110
- if (version !== THRIFT_VERSION_1) {
+ if (version !== (THRIFT_VERSION_1 | 0)) {
111
throw new Error(`Unsupported Thrift version: 0x${version.toString(16)}`)
112
}
113
const type = versionAndType & 0x000000ff
0 commit comments