Closed Bug 940336 Opened 12 years ago Closed 9 years ago

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

Categories

(Core :: JavaScript Engine: JIT, defect, P1)

x86_64
Windows 7
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: RyanVM, Unassigned)

References

(Blocks 1 open bug)

Details

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
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.