Signed-off-by: Sean Hefty <[email protected]>
---

 infiniband-diags/src/ibtracert.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/infiniband-diags/src/ibtracert.c b/infiniband-diags/src/ibtracert.c
index ea5662b..db3b906 100644
--- a/infiniband-diags/src/ibtracert.c
+++ b/infiniband-diags/src/ibtracert.c
@@ -46,7 +46,7 @@
 
 #include <infiniband/umad.h>
 #include <infiniband/mad.h>
-#include <infiniband/complib/cl_nodenamemap.h>
+#include <complib/cl_nodenamemap.h>
 
 #include "ibdiag_common.h"
 
@@ -180,7 +180,7 @@ extend_dpath(ib_dr_path_t *path, int nextport)
        if (path->cnt+2 >= sizeof(path->p))
                return -1;
        ++path->cnt;
-       path->p[path->cnt] = nextport;
+       path->p[path->cnt] = (uint8_t) nextport;
        return path->cnt;
 }
 
@@ -718,7 +718,7 @@ int main(int argc, char **argv)
                { "no_info", 'n', 0, NULL, "simple format" },
                { "mlid", 'm', 1, "<mlid>", "multicast trace of the mlid" },
                { "node-name-map", 1, 1, "<file>", "node name map file" },
-               { }
+               { 0 }
        };
        char usage_args[] = "<src-addr> <dest-addr>";
        const char *usage_examples[] = {



_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to