* [PATCH] osmtest - clarify assignment operation
@ 2009-10-12 17:17 Stan C. Smith
2009-10-12 21:29 ` Sasha Khapyorsky
0 siblings, 1 reply; 2+ messages in thread
From: Stan C. Smith @ 2009-10-12 17:17 UTC (permalink / raw)
To: 'Sasha Khapyorsky'; +Cc: ofw, 'linux-rdma'
Clarify assignment & remove WDK compiler warning.
Signed-off-by: stan smith <stan.smith@intel.com>
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;
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-10-12 21:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-12 17:17 [PATCH] osmtest - clarify assignment operation Stan C. Smith
2009-10-12 21:29 ` Sasha Khapyorsky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox