Win64 compiler warnings in IonMacroAssembler.h (warning C4267: 'argument' : conversion from 'size_t' to 'int32_t', possible loss of data)

RESOLVED WORKSFORME

Status

()

Core
JavaScript Engine: JIT
P1
normal
RESOLVED WORKSFORME
5 years ago
2 years ago

People

(Reporter: RyanVM, Unassigned)

Tracking

(Blocks: 1 bug)

Trunk
x86_64
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
Frequently spammed during Win64 builds.

js\src\jit/IonMacroAssembler.h(297) : warning C4267: 'argument' : conversion from 'size_t' to 'int32_t', possible loss of data
js\src\jit/IonMacroAssembler.h(300) : warning C4267: 'argument' : conversion from 'size_t' to 'int32_t', possible loss of data
js\src\jit/IonMacroAssembler.h(302) : warning C4267: 'argument' : conversion from 'size_t' to 'int32_t', possible loss of data
js\src\jit/IonMacroAssembler.h(305) : warning C4267: 'argument' : conversion from 'size_t' to 'int32_t', possible loss of data
js\src\jit/IonMacroAssembler.h(310) : warning C4267: 'argument' : conversion from 'size_t' to 'int32_t', possible loss of data
js\src\jit/IonMacroAssembler.h(314) : warning C4267: 'argument' : conversion from 'size_t' to 'int32_t', possible loss of data
js\src\jit/IonMacroAssembler.h(317) : warning C4267: 'argument' : conversion from 'size_t' to 'int32_t', possible loss of data
js\src\jit/IonMacroAssembler.h(321) : warning C4267: 'argument' : conversion from 'size_t' to 'int32_t', possible loss of data
js\src\jit/IonMacroAssembler.h(323) : warning C4267: 'argument' : conversion from 'size_t' to 'int32_t', possible loss of data
js\src\jit/IonMacroAssembler.h(362) : warning C4267: 'argument' : conversion from 'size_t' to 'int32_t', possible loss of data
js\src\jit/IonMacroAssembler.h(366) : warning C4267: 'argument' : conversion from 'size_t' to 'int32_t', possible loss of data
js\src\jit/IonMacroAssembler.h(371) : warning C4267: 'argument' : conversion from 'size_t' to 'int32_t', possible loss of data
js\src\jit/IonMacroAssembler.h(847) : warning C4267: 'argument' : conversion from 'size_t' to 'uint32_t', possible loss of data
js\src\jit/IonMacroAssembler.h(922) : warning C4267: 'argument' : conversion from 'size_t' to 'int32_t', possible loss of data
js\src\jit/IonMacroAssembler.h(1010) : warning C4267: 'argument' : conversion from 'size_t' to 'int32_t', possible loss of data
js\src\jit/IonMacroAssembler.h(1017) : warning C4267: 'argument' : conversion from 'size_t' to 'int32_t', possible loss of data
js\src\jit/IonMacroAssembler.h(1025) : warning C4267: 'argument' : conversion from 'size_t' to 'int32_t', possible loss of data
js\src\jit/IonMacroAssembler.h(1026) : warning C4267: 'argument' : conversion from 'size_t' to 'int32_t', possible loss of data
js\src\jit/IonMacroAssembler.h(1027) : warning C4267: 'argument' : conversion from 'size_t' to 'int32_t', possible loss of data
js\src\jit/IonMacroAssembler.h(1028) : warning C4267: 'argument' : conversion from 'size_t' to 'int32_t', possible loss of data
js\src\jit/IonMacroAssembler.h(1043) : warning C4267: 'argument' : conversion from 'size_t' to 'int32_t', possible loss of data
js\src\jit/IonMacroAssembler.h(1046) : warning C4267: 'argument' : conversion from 'size_t' to 'int32_t', possible loss of data
js\src\jit/IonMacroAssembler.h(1048) : warning C4267: 'argument' : conversion from 'size_t' to 'int32_t', possible loss of data
js\src\jit/IonMacroAssembler.h(1053) : warning C4267: 'argument' : conversion from 'size_t' to 'int32_t', possible loss of data
Priority: -- → P1
As far as I can see those warnings don't show up in the builds anymore.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.