aboutsummaryrefslogtreecommitdiffstats
path: root/gtp/pdp.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-05-04 11:08:38 +0200
committerHarald Welte <laforge@gnumonks.org>2010-05-04 11:08:38 +0200
commitf54a1f4d43a8bf065cb7114e0c1ee6fc547670b5 (patch)
treebe190a648ef935c4c02b1a34a606c813c25e1c38 /gtp/pdp.h
parent5d064ecb84a3be86bd917e00703abe9efe1529b8 (diff)
Fix various compiler warnings throughout the code
Mostly signed/unsigned and typecasting issues Taken from http://sourceforge.net/tracker/index.php?func=detail&aid=1811517&group_id=68956&atid=522957
Diffstat (limited to 'gtp/pdp.h')
-rw-r--r--gtp/pdp.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/gtp/pdp.h b/gtp/pdp.h
index 59541c6..13ae280 100644
--- a/gtp/pdp.h
+++ b/gtp/pdp.h
@@ -23,27 +23,27 @@
struct sl_t {
-int l;
+unsigned int l;
char *v;
};
struct ul_t {
-int l;
+unsigned int l;
unsigned char *v;
};
struct ul16_t {
-int l;
+unsigned int l;
unsigned char v[16];
};
struct ul66_t {
-int l;
+unsigned int l;
unsigned char v[66];
};
struct ul255_t {
-int l;
+unsigned int l;
unsigned char v[255];
};