Title: [216086] trunk/Source/_javascript_Core
- Revision
- 216086
- Author
- [email protected]
- Date
- 2017-05-02 12:14:58 -0700 (Tue, 02 May 2017)
Log Message
Unreviewed, fix pedantic C compilers.
* API/tests/testapi.c:
(markingConstraint):
(testMarkingConstraints):
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/API/tests/testapi.c (216085 => 216086)
--- trunk/Source/_javascript_Core/API/tests/testapi.c 2017-05-02 19:13:03 UTC (rev 216085)
+++ trunk/Source/_javascript_Core/API/tests/testapi.c 2017-05-02 19:14:58 UTC (rev 216086)
@@ -1126,7 +1126,7 @@
JSWeakRef *weakRefs;
unsigned i;
- weakRefs = userData;
+ weakRefs = (JSWeakRef*)userData;
for (i = 0; i < numWeakRefs; i += 2) {
JSObjectRef object = JSWeakGetObject(weakRefs[i]);
@@ -1148,7 +1148,7 @@
group = JSContextGroupCreate();
context = JSGlobalContextCreateInGroup(group, NULL);
- weakRefs = calloc(numWeakRefs, sizeof(JSWeakRef));
+ weakRefs = (JSWeakRef*)calloc(numWeakRefs, sizeof(JSWeakRef));
JSContextGroupAddMarkingConstraint(group, markingConstraint, weakRefs);
Modified: trunk/Source/_javascript_Core/ChangeLog (216085 => 216086)
--- trunk/Source/_javascript_Core/ChangeLog 2017-05-02 19:13:03 UTC (rev 216085)
+++ trunk/Source/_javascript_Core/ChangeLog 2017-05-02 19:14:58 UTC (rev 216086)
@@ -1,5 +1,13 @@
2017-05-02 Filip Pizlo <[email protected]>
+ Unreviewed, fix pedantic C compilers.
+
+ * API/tests/testapi.c:
+ (markingConstraint):
+ (testMarkingConstraints):
+
+2017-05-02 Filip Pizlo <[email protected]>
+
Unreviewed, fix cmake build.
* CMakeLists.txt:
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes