[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/at45db LogStorageP.nc, 1.5, 1.6

Kevin Klues klueska at users.sourceforge.net
Thu May 22 16:17:30 PDT 2008


Update of /cvsroot/tinyos/tinyos-2.x/tos/chips/at45db
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv18331

Modified Files:
	LogStorageP.nc 
Log Message:
Add cast to get rid of warning in gcc 4.1.2

Index: LogStorageP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/at45db/LogStorageP.nc,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** LogStorageP.nc	11 Jul 2007 17:26:04 -0000	1.5
--- LogStorageP.nc	22 May 2008 23:17:27 -0000	1.6
***************
*** 383,387 ****
  
    command error_t LogRead.seek[uint8_t id](storage_cookie_t offset) {
!     return newRequest(R_SEEK, id, (void *)(offset >> 16), offset);
    }
  
--- 383,387 ----
  
    command error_t LogRead.seek[uint8_t id](storage_cookie_t offset) {
!     return newRequest(R_SEEK, id, (void *)((uint16_t)(offset >> 16)), offset);
    }
  



More information about the Tinyos-2-commits mailing list