Closed Bug 776914 Opened 13 years ago Closed 13 years ago

nsProfileLock nullptr related build errors with vc11

Categories

(Core :: General, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla17

People

(Reporter: jimm, Unassigned)

References

Details

Attachments

(1 file)

nsProfileLock.cpp f:/Mozilla/firefox/mc/profile/dirserviceprovider/src/nsProfileLock.cpp(583) : error C2664: 'CreateFileW' : cannot convert parameter 6 from 'nullptr' to 'DWORD' A native nullptr can only be converted to bool or, using reinterpret_cast, to an integral type make[5]: *** [nsProfileLock.obj] Error 2 all most there....
Attached patch patchSplinter Review
Attachment #645295 - Flags: review?(netzen)
Actually, that last param can stay an nsnull, in bug 626472 these will be mass changed to nullptr.
Attachment #645295 - Flags: review?(netzen) → review+
I'm fine either way, the important one is the DWORD value
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: