summaryrefslogtreecommitdiff
path: root/isisd/isis_lsp.h
diff options
context:
space:
mode:
authorhasso <hasso>2004-09-26 15:42:44 +0000
committerhasso <hasso>2004-09-26 15:42:44 +0000
commitc83dcd3f81ed21c72ad50e56a6c515c7eacac44c (patch)
tree666a12f12974b60e04057f89a229ec2f8fb11076 /isisd/isis_lsp.h
parent73d1aeada73abf3ca803aea074a1da5c264bf86e (diff)
Compile with gcc-4.0.
Diffstat (limited to 'isisd/isis_lsp.h')
-rw-r--r--isisd/isis_lsp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/isisd/isis_lsp.h b/isisd/isis_lsp.h
index d92175c4..67242f28 100644
--- a/isisd/isis_lsp.h
+++ b/isisd/isis_lsp.h
@@ -104,8 +104,8 @@ void lsp_purge_non_exist (struct isis_link_state_hdr *lsp_hdr,
#define LSP_NEWER 2
#define LSP_OLDER 3
-#define LSP_PSEUDO_ID(I) ((u_char)(I)[ISIS_SYS_ID_LEN])
-#define LSP_FRAGMENT(I) ((u_char)(I)[ISIS_SYS_ID_LEN + 1])
+#define LSP_PSEUDO_ID(I) ((I)[ISIS_SYS_ID_LEN])
+#define LSP_FRAGMENT(I) ((I)[ISIS_SYS_ID_LEN + 1])
#define OWNLSPID(I) \
memcpy ((I), isis->sysid, ISIS_SYS_ID_LEN);\
(I)[ISIS_SYS_ID_LEN] = 0;\