New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug fix: compilation error in VS2013 64bit #688

Merged
merged 1 commit into from Aug 23, 2014

Conversation

Projects
None yet
3 participants
@bruceoutdoors
Contributor

bruceoutdoors commented Aug 23, 2014

Error 1 error C2440: 'initializing' : cannot convert from 'FARPROC' to 'SetProcessDPIAwareFuncType'

SetProcessDPIAwareFunc needs to be explicitly cast in VS2013.

@binary1248

This comment has been minimized.

Show comment
Hide comment
@binary1248

binary1248 Aug 23, 2014

Member

Yeah... I should try compiling using 64-bit VS more often 😁.

I hope the others don't mind me merging this myself. But given the simple nature of this pull request (a "typo" on my part), I don't see what could go wrong. In the original patch I wrote, I did remember to cast, but somehow that got lost through the rewrites... oh well.

Anyways, thanks for your contribution 😃.

Member

binary1248 commented Aug 23, 2014

Yeah... I should try compiling using 64-bit VS more often 😁.

I hope the others don't mind me merging this myself. But given the simple nature of this pull request (a "typo" on my part), I don't see what could go wrong. In the original patch I wrote, I did remember to cast, but somehow that got lost through the rewrites... oh well.

Anyways, thanks for your contribution 😃.

binary1248 added a commit that referenced this pull request Aug 23, 2014

Merge pull request #688 from bruceoutdoors/master
Fixed compilation error in VS2013 64bit

@binary1248 binary1248 merged commit 20bf0e0 into SFML:master Aug 23, 2014

@eXpl0it3r eXpl0it3r added this to the 2.2 milestone Sep 14, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment