[Asterisk-Dev] Small Zaptel patch

Kevin Walsh kevin at cursor.biz
Sat Jun 26 11:54:34 MST 2004


The local_local_save/restore is being passed a "long" used instead of
an "unsigned long".  This patch cleans that up.


--- zaptel.c    21 Jun 2004 17:33:36 -0000      1.81
+++ zaptel.c    26 Jun 2004 17:51:32 -0000
@@ -5991,7 +5991,7 @@
 static void watchdog_check(unsigned long ignored)
 {
        int x;
-       long flags;
+       unsigned long flags;
        static int wdcheck=0;

        local_irq_save(flags);

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    kevin at cursor.biz
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/




More information about the asterisk-dev mailing list