summaryrefslogtreecommitdiffstats
path: root/lib/libatm/ip_checksum.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libatm/ip_checksum.c')
-rw-r--r--lib/libatm/ip_checksum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libatm/ip_checksum.c b/lib/libatm/ip_checksum.c
index 414d79b..e644977 100644
--- a/lib/libatm/ip_checksum.c
+++ b/lib/libatm/ip_checksum.c
@@ -73,7 +73,7 @@ ip_checksum(addr, count)
/* Compute Internet Checksum for "count" bytes
* beginning at location "addr".
*/
- register long sum = 0;
+ long sum = 0;
while( count > 1 ) {
/* This is the inner loop */
OpenPOWER on IntegriCloud