diff mbox

[v5,2/8] example: odp_ipsec_stream: fix c99 unknown type name ‘uint’

Message ID 1425048757-28438-2-git-send-email-mike.holmes@linaro.org
State Accepted
Commit 7ffd1b38b9880289ea1a0ecff82d1b3931e559e7
Headers show

Commit Message

Mike Holmes Feb. 27, 2015, 2:52 p.m. UTC
./odp_ipsec_stream.h:27:2: error: unknown type name ‘uint’
  uint             length;        /**< Packet payload length */

Signed-off-by: Mike Holmes <mike.holmes@linaro.org>
---
 example/ipsec/odp_ipsec_stream.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/example/ipsec/odp_ipsec_stream.h b/example/ipsec/odp_ipsec_stream.h
index b71fc32..12e368c 100644
--- a/example/ipsec/odp_ipsec_stream.h
+++ b/example/ipsec/odp_ipsec_stream.h
@@ -24,7 +24,7 @@  typedef struct stream_db_entry_s {
 	uint32_t         src_ip;        /**< Source IPv4 address */
 	uint32_t         dst_ip;        /**< Destination IPv4 address */
 	int              count;         /**< Packet count */
-	uint             length;        /**< Packet payload length */
+	uint32_t         length;        /**< Packet payload length */
 	uint32_t         created;       /**< Number successfully created */
 	uint32_t         verified;      /**< Number successfully verified */
 	struct {