Clarify assignment & remove WDK compiler warning.
Signed-off-by: stan smith <[email protected]>
diff --git a/opensm/osmtest/main.c b/opensm/osmtest/main.c
index 4bb9f82..6bfd7a6 100644
--- a/opensm/osmtest/main.c
+++ b/opensm/osmtest/main.c
@@ -433,7 +433,7 @@ int main(int argc, char *argv[])
/*
* Specifies the max LID to search for during
exploration.
*/
- max_lid = atoi(optarg);
+ max_lid = (uint16_t) atoi(optarg);
printf("\tMAX-LID %u\n", max_lid);
break;
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html