Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
22d0c220
Commit
22d0c220
authored
Dec 09, 2016
by
Francis Dupont
Browse files
[master] Replaced a NULL not accepted by old GCC in C++0x mode by a cast
parent
ee679002
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/util/memory_segment_local.cc
View file @
22d0c220
...
...
@@ -50,7 +50,7 @@ MemorySegmentLocal::getNamedAddressImpl(const char* name) const {
if
(
found
!=
named_addrs_
.
end
())
{
return
(
NamedAddressResult
(
true
,
found
->
second
));
}
return
(
NamedAddressResult
(
false
,
NULL
));
return
(
NamedAddressResult
(
false
,
static_cast
<
void
*>
(
0
)
));
}
bool
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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