Revision: 1225
Author: [email protected]
Date: Thu Aug 20 14:43:34 2009
Log: fix 2.4m beta related compiler warnings
http://code.google.com/p/jallib/source/detail?r=1225

Modified:
  /trunk/include/jal/format.jal
  /trunk/include/jal/print.jal
  /trunk/include/peripheral/usb/usb_drv.jal

=======================================
--- /trunk/include/jal/format.jal       Sat Nov 15 09:24:23 2008
+++ /trunk/include/jal/format.jal       Thu Aug 20 14:43:34 2009
@@ -260,7 +260,7 @@
     end if

     _format_signed = true
-   format_byte_dec(device, data, n_tot-1, n2)
+   format_byte_dec(device, byte( data ), n_tot-1, n2)
  end procedure
  --  
-----------------------------------------------------------------------------

@@ -286,7 +286,7 @@
     end if

     _format_signed = true
-   format_word_dec(device, data, n_tot-1, n2)
+   format_word_dec(device, word( data ), n_tot-1, n2)
  end procedure
  --  
-----------------------------------------------------------------------------

@@ -308,7 +308,7 @@
     end if

     _format_signed = true
-   format_dword_dec(device, data, n_tot-1, n2)
+   format_dword_dec(device, dword( data ), n_tot-1, n2)
  end procedure
  --  
-----------------------------------------------------------------------------

=======================================
--- /trunk/include/jal/print.jal        Sat Apr 25 01:55:48 2009
+++ /trunk/include/jal/print.jal        Thu Aug 20 14:43:34 2009
@@ -222,7 +222,7 @@
        device = "-"
     end if

-   _print_universal_dec(device, data, digit_divisor, digit_number)
+   _print_universal_dec(device, word( data ), digit_divisor, digit_number)

  end procedure

=======================================
--- /trunk/include/peripheral/usb/usb_drv.jal   Sun Aug 16 12:22:14 2009
+++ /trunk/include/peripheral/usb/usb_drv.jal   Thu Aug 20 14:43:34 2009
@@ -400,7 +400,7 @@

                                -- obtain request
                                case ( usb_sdp_request_type  & 0b_0110_000 ) of
-                                       (0x00 << USB_REQUEST_TYPE0_BIT ):
+                                       (0b00 << USB_REQUEST_TYPE0_BIT ):
                                        block
                                                -- serial_hw_write( "S" )
                                                -- standard request
@@ -420,7 +420,7 @@
                                                _usb_handle_standard_request()

                                        end block
-                                       (0x01 << USB_REQUEST_TYPE0_BIT ):
+                                       (0b01 << USB_REQUEST_TYPE0_BIT ):
                                        block
                                                -- class request
                                                if USB_DEBUG > 0 then
@@ -431,7 +431,7 @@
                                                        
usb_handle_class_request_callback()
                                                end if
                                        end block
-                                       (0x10 << USB_REQUEST_TYPE0_BIT ):
+                                       (0b10 << USB_REQUEST_TYPE0_BIT ):
                                        block
                                                -- class request
                                                if USB_DEBUG > 0 then

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to