e1000: fix build on Ubuntu with _FORTIFY_SOURCE
commit98835fe30fa7d50695f037e84f76f9f139c59c7e
authorThomas Monjalon <thomas@monjalon.net>
Wed, 31 Mar 2010 09:22:51 +0000 (31 11:22 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Thu, 8 Apr 2010 19:32:31 +0000 (8 21:32 +0200)
tree96d2510cb48be7d6f416f02b2718c64a64815873
parent14da56169886e90b3313d8128aecacf261ded607
e1000: fix build on Ubuntu with _FORTIFY_SOURCE

There was a pointer cast warning on Ubuntu since _FORTIFY_SOURCE has been reenabled.

_FORTIFY_SOURCE had been disabled by 4a24470497360d8b77568b83008d0e9d6eb0787d
and reenabled by 849583050d5f6f782718be8cb50688978973fbea.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
hw/e1000.c