Compile with gcc-4.0.
diff --git a/isisd/ChangeLog b/isisd/ChangeLog
index a9ea3ce..4b0659a 100644
--- a/isisd/ChangeLog
+++ b/isisd/ChangeLog
@@ -1,3 +1,8 @@
+2004-09-26 Hasso Tepper <hasso at quagga.net>
+
+ * isis_lsp.h: Cast-as-lvalue extension is deprecated and is not
+ accpted any more in gcc-4.0.
+
2004-09-24 Hasso Tepper <hasso at quagga.net>
* isisd.c: thread_master *master is already defined in isis_main.c.
diff --git a/isisd/isis_lsp.h b/isisd/isis_lsp.h
index d92175c..67242f2 100644
--- a/isisd/isis_lsp.h
+++ b/isisd/isis_lsp.h
@@ -104,8 +104,8 @@
#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;\