Skip to content
Permalink
Browse files
Correct redefined fnfErr type
https://bugs.webkit.org/show_bug.cgi?id=183728
<rdar://problem/38590063>

Reviewed by Dan Bernstein.

* platform/network/cf/FormDataStreamCFNet.cpp:
CFStreamError's error parameter takes a SInt32, not an int.
Make sure our redefinition has a compatible type.


Canonical link: https://commits.webkit.org/199367@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@229700 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
hortont424 committed Mar 18, 2018
1 parent db354b3 commit c0127fb2ec6b6fa9e85a66ba24b6ef8771370e76
Showing with 13 additions and 1 deletion.
  1. +12 −0 Source/WebCore/ChangeLog
  2. +1 −1 Source/WebCore/platform/network/cf/FormDataStreamCFNet.cpp
@@ -1,3 +1,15 @@
2018-03-17 Tim Horton <timothy_horton@apple.com>

Correct redefined fnfErr type
https://bugs.webkit.org/show_bug.cgi?id=183728
<rdar://problem/38590063>

Reviewed by Dan Bernstein.

* platform/network/cf/FormDataStreamCFNet.cpp:
CFStreamError's error parameter takes a SInt32, not an int.
Make sure our redefinition has a compatible type.

2018-03-17 Jiewen Tan <jiewen_tan@apple.com>

[WebAuthN] Implement authenticatorMakeCredential
@@ -43,7 +43,7 @@
#include <wtf/Threading.h>

#if PLATFORM(IOS)
static const int fnfErr = -43;
static const SInt32 fnfErr = -43;
#elif PLATFORM(MAC)
#include <CoreServices/CoreServices.h>
#endif

0 comments on commit c0127fb

Please sign in to comment.