Skip to content
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

fix invalid conversion error with MinGW 4.8.1 in net.cpp #2826

Merged
merged 1 commit into from
Jul 22, 2013
Merged

fix invalid conversion error with MinGW 4.8.1 in net.cpp #2826

merged 1 commit into from
Jul 22, 2013

Conversation

Diapolo
Copy link

@Diapolo Diapolo commented Jul 13, 2013

  • fixes src\net.cpp:1601: Error:invalid conversion from 'void_' to
    'const char_' [-fpermissive] in a setsockopt() call on Win32 that was
    found by using MinGW 4.8.1 compiler suite

See http://msdn.microsoft.com/en-us/library/windows/desktop/ms740476%28v=vs.85%29.aspx to verify that Win32 needs a const char *.

- fixes src\net.cpp:1601: Error:invalid conversion from 'void*' to
  'const char*' [-fpermissive] in a setsockopt() call on Win32 that was
  found by using MinGW 4.8.1 compiler suite
@BitcoinPullTester
Copy link

Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/b3e0aaf36e294595c606af78feeeef158315a501 for binaries and test log.
This test script verifies pulls every time they are updated. It, however, dies sometimes and fails to test properly. If you are waiting on a test, please check timestamps to verify that the test.log is moving at http://jenkins.bluematt.me/pull-tester/current/
Contact BlueMatt on freenode if something looks broken.

@sipa
Copy link
Member

sipa commented Jul 20, 2013

ACK

jgarzik pushed a commit that referenced this pull request Jul 22, 2013
fix invalid conversion error with MinGW 4.8.1 in net.cpp
@jgarzik jgarzik merged commit 6c6255e into bitcoin:master Jul 22, 2013
Bushstar pushed a commit to Bushstar/omnicore that referenced this pull request Apr 5, 2019
Even if its a TX type which we don't want in merkle blocks. Wrongfully
omitting the pushes causes invalid partial merkle trees, which in turn
causes SPV nodes to ban us.
Bushstar pushed a commit to Bushstar/omnicore that referenced this pull request Apr 8, 2020
Even if its a TX type which we don't want in merkle blocks. Wrongfully
omitting the pushes causes invalid partial merkle trees, which in turn
causes SPV nodes to ban us.
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants