Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Auctions
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Wilcox Technologies
Auctions
Commits
20d67199
Commit
20d67199
authored
Jul 28, 2012
by
A. Wilcox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XBridge: Use const void * instead of uintptr_t for member size in calloc call.
parent
dbba6388
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
MacOSX/AuXBridge.mm
MacOSX/AuXBridge.mm
+1
-1
No files found.
MacOSX/AuXBridge.mm
View file @
20d67199
...
...
@@ -81,7 +81,7 @@ void bridge_helper_cppify_dict(NSDictionary *changedKeys, WTDictionary *properti
properties
->
set
([
key
UTF8String
],
[
val
pointerValue
]);
else
if
([
val
isKindOfClass
:[
NSArray
class
]])
{
const
void
**
array
=
static_cast
<
const
void
**>
(
calloc
(
sizeof
(
uintptr_t
),
[
val
count
]));
const
void
**
array
=
static_cast
<
const
void
**>
(
calloc
(
sizeof
(
const
void
*
),
[
val
count
]));
NSUInteger
next_obj
=
0
;
for
(;
next_obj
<
[
val
count
];
next_obj
++
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment