Commit 7d26eaf7 authored by Benoît Dejean's avatar Benoît Dejean Committed by Benoît Dejean
Browse files

Fixed cast. Really fixed bug #412953.

2007-03-02  Benoît Dejean  <benoit@placenet.org>

	* configure.in:
	* src/openfiles.cpp:
	
	Fixed cast.
	Really fixed bug #412953.

svn path=/trunk/; revision=1948
parent 0e218247
2007-03-02 Benoît Dejean <benoit@placenet.org>
* configure.in:
* src/openfiles.cpp:
Fixed cast.
Really fixed bug #412953.
2007-02-28 Benoît Dejean <benoit@placenet.org>
* NEWS:
......
......@@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.52)
AC_INIT([gnome-system-monitor], [2.17.95],
AC_INIT([gnome-system-monitor], [2.17.96],
[http://bugzilla.gnome.org/enter_bug.cgi?product=system-monitor])
AC_CONFIG_SRCDIR(configure.in)
AC_CONFIG_HEADERS(config.h)
......
......@@ -55,7 +55,7 @@ friendlier_hostname(const char *dotted_quad, int port)
// cast needed because first argument may be const char*
// or const void*
host = gethostbyaddr((const void*)&addr4, sizeof addr4, AF_INET);
host = gethostbyaddr(reinterpret_cast<const char*>(&addr4), sizeof addr4, AF_INET);
if(!host)
goto failsafe;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment