add a simple serial program
[fw/sdcc] / device / lib / _modulong.c
index d9daa6a1832364bf2fef92f036d353f03d13f3c7..e3d85b8566a372a49b6c0e5746af62169bf85b57 100644 (file)
@@ -28,7 +28,7 @@
 
 unsigned long  _modulong (unsigned long a ,unsigned long b)
 {
-    unsigned short count = 0;
+    unsigned char count = 0;
     
     
         while (!MSB_SET(b)) {