summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTinku Mannan2014-11-21 14:05:48 -0600
committerTinku Mannan2014-11-21 14:05:48 -0600
commit22a63296229ff7e4085ace5c2a667bc1f9c92d04 (patch)
tree0fcc95e36072ce0722c6f3bba009e2aff3acf0d6
parentb4a8506c66e5a37375bdbc12b55370af8ed3c4c3 (diff)
downloadpktlib-22a63296229ff7e4085ace5c2a667bc1f9c92d04.tar.gz
pktlib-22a63296229ff7e4085ace5c2a667bc1f9c92d04.tar.xz
pktlib-22a63296229ff7e4085ace5c2a667bc1f9c92d04.zip
Incorporate comments from team porting Linaro ODP to MCSDK3.x
-rw-r--r--ti/runtime/pktlib/.gitignore4
-rwxr-xr-x[-rw-r--r--]ti/runtime/pktlib/pktlib.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/ti/runtime/pktlib/.gitignore b/ti/runtime/pktlib/.gitignore
new file mode 100644
index 0000000..ee06052
--- /dev/null
+++ b/ti/runtime/pktlib/.gitignore
@@ -0,0 +1,4 @@
1*.o
2*.a
3*.so
4*.so.* \ No newline at end of file
diff --git a/ti/runtime/pktlib/pktlib.h b/ti/runtime/pktlib/pktlib.h
index 23c217a..c51b36d 100644..100755
--- a/ti/runtime/pktlib/pktlib.h
+++ b/ti/runtime/pktlib/pktlib.h
@@ -519,7 +519,7 @@ static inline int32_t Pktlib_setDataOffset(Ti_Pkt* ptrPkt, int32_t offset)
519 if (offset >= 0) 519 if (offset >= 0)
520 { 520 {
521 /* +ve: Make sure that the offset does not exceed the current data length. */ 521 /* +ve: Make sure that the offset does not exceed the current data length. */
522 if (offset > dataLen) 522 if (offset > (int32_t)dataLen)
523 return -1; 523 return -1;
524 } 524 }
525 else 525 else