aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hurd <shurd@FreeBSD.org>2018-02-21 18:57:00 +0000
committerStephen Hurd <shurd@FreeBSD.org>2018-02-21 18:57:00 +0000
commit81ad57b1b86a564140a59992e4d7a04a9090df32 (patch)
tree2c27208369989927d6f45a8745d61c04db459821
parent921b60da6f57df379338353df723dae50ec175f2 (diff)
downloadsrc-81ad57b1b86a564140a59992e4d7a04a9090df32.tar.gz
src-81ad57b1b86a564140a59992e4d7a04a9090df32.zip
IFLIB: Make isc_magic unsigned
The IFLIB_MAGIC macro is > INT_MAX, so isc_magic should be able to contain it. Reported by: jeb Sponsored by: Limelight Networks
Notes
Notes: svn path=/head/; revision=329742
-rw-r--r--sys/net/iflib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/iflib.h b/sys/net/iflib.h
index 3730f0eadc8c..023193227440 100644
--- a/sys/net/iflib.h
+++ b/sys/net/iflib.h
@@ -229,7 +229,7 @@ typedef struct if_softc_ctx {
* Initialization values for device
*/
struct if_shared_ctx {
- int isc_magic;
+ unsigned isc_magic;
driver_t *isc_driver;
bus_size_t isc_q_align;
bus_size_t isc_tx_maxsize;