Commit graph

10932 commits

Author SHA1 Message Date
Oliver Schmidt a29502ed0d Changed 'data' casting for 'ctk_signal_keypress'.
In these cases data was set as `process_post_synch(window->owner, ctk_signal_keypress, (process_data_t)(size_t)c);` so it seems reasonable to cast "back" to `size_t`. Additionally the comparison can be limited to `char`. See i.e. calcc for reference:
```
if(ev == ctk_signal_keypress) {
  if((char)(size_t)data >= '0' &&
     (char)(size_t)data <= '9') {
```
2015-10-20 10:11:51 +02:00
Simon Duquennoy 8f954fbab5 res-b1-sep-b2.c: fix type of iterator 2015-10-20 10:11:50 +02:00
Simon Duquennoy ca8fe618e7 cc2420 and cc2430: add comment on why we discard tbiv 2015-10-20 10:11:49 +02:00
Simon Duquennoy 343326abee www.c: added #ifdef WITH_PETSCII guards to avoid compiler warning on unused variable wptr 2015-10-20 10:11:48 +02:00
Simon Duquennoy f49b161795 Remove commented-out code 2015-10-20 10:11:47 +02:00
Simon Duquennoy 1634acf2c4 jn516x examples: fix compiler warnings to enable -Wall -Werror compilation 2015-10-20 10:11:46 +02:00
Simon Duquennoy c13274c550 jn516x platform: fix compiler warnings to enable -Wall -Werror compilation 2015-10-20 10:11:45 +02:00
Simon Duquennoy 48ae0d2ba0 anti-replay.c: fix undefined behavior on big-endian platforms 2015-10-20 10:11:44 +02:00
Simon Duquennoy 7d55e89563 jn516x: enable -Wall 2015-10-20 10:11:43 +02:00
Adam Dunkels d48cf89e9b Fixed compiler warnings for the AVR platforms 2015-10-20 10:11:42 +02:00
George Oikonomou 2773a37857 Update CCxxwares to our warning-free version 2015-10-20 10:11:41 +02:00
Adam Dunkels 507309b0f5 Cast pointer to uintptr_t type to avoid compiler warnings 2015-10-20 10:11:40 +02:00
Adam Dunkels 160d792399 Cast pointer to uintptr_t type to avoid compiler warnings 2015-10-20 10:11:39 +02:00
Adam Dunkels bd54fe83f8 Cast pointer to uintptr_t type to avoid compiler warnings 2015-10-20 10:11:39 +02:00
Adam Dunkels c1ed924c67 Spell fix in function name 2015-10-20 10:11:38 +02:00
Adam Dunkels 9b6377ecdc Fix compiler warnings 2015-10-20 10:11:37 +02:00
Adam Dunkels afe3612c0c Fix compiler warnings 2015-10-20 10:11:36 +02:00
Adam Dunkels 24b1eb4031 The -pedantic and -stdc flags trigger a few too many warnings 2015-10-20 10:11:35 +02:00
Adam Dunkels 4cab313b8c Fix compiler warnings 2015-10-20 10:11:34 +02:00
Adam Dunkels 06dfce6d46 The -pedantic and -stdc flags trigger a few too many warnings 2015-10-20 10:11:33 +02:00
Adam Dunkels 01996eb62a Fix compiler warnings 2015-10-20 10:11:32 +02:00
Adam Dunkels 2d203cc713 Fix compiler warnings 2015-10-20 10:11:31 +02:00
Adam Dunkels c262eafe97 Fix compiler warnings 2015-10-20 10:11:30 +02:00
Adam Dunkels 08c6a69fe8 Fix compiler warnings 2015-10-20 10:11:29 +02:00
Adam Dunkels c0de05f9a8 Fix compiler warnings 2015-10-20 10:11:28 +02:00
Adam Dunkels 5e1ce413af Fix compiler warnings 2015-10-20 10:11:27 +02:00
Adam Dunkels 51233a7f88 Fix compiler warnings 2015-10-20 10:11:26 +02:00
Adam Dunkels 1ed9a20fdb Use unsigned long instead of uint32_t to avoid compiler warnings with the printfs 2015-10-20 10:11:25 +02:00
Adam Dunkels 8a6ae7c651 Build examples with the WERROR=1 flag passed to make, to ensure that we have a clean non-warning build for all examples on platforms that support the WERROR=1 flag 2015-10-20 10:11:24 +02:00
Adam Dunkels 12a185f394 Added the WERROR=1 flag to the CC2538 and CC26xx CPUs 2015-10-20 10:11:23 +02:00
Simon Duquennoy aec8af25c0 jn516x: added WERROR 2015-10-20 10:11:22 +02:00
Simon Duquennoy 9d7cfa8f78 Regression test 21: added missing undefs and include 2015-10-20 10:11:21 +02:00
Simon Duquennoy 2c514d5d46 Regression test: remove unused variable 2015-10-20 10:11:20 +02:00
Simon Duquennoy 4805a9bbe6 Regression test: fixed function prototype of route_callback 2015-10-20 10:11:19 +02:00
Simon Duquennoy 5ac4c2c867 Target cooja: fixed funciton prototype of uip_driver_send 2015-10-20 10:11:18 +02:00
Simon Duquennoy b0f21747e1 Target cooja: added missing declaration of simlog_char 2015-10-20 10:11:17 +02:00
Simon Duquennoy 43adbbf6f9 Target cooja: added missing includes 2015-10-20 10:11:16 +02:00
Simon Duquennoy 5dd6261fef Nullrdc: added missing include for cooja nodes 2015-10-20 10:11:15 +02:00
Simon Duquennoy 7328ee51ef micaz: added missing include 2015-10-20 10:11:14 +02:00
Simon Duquennoy 2533265d30 eval-adf7xxxmb4z: declare node_id only when needed 2015-10-20 10:11:13 +02:00
Simon Duquennoy 45af3adab4 exp5438: do not use char as array index 2015-10-20 10:11:04 +02:00
Simon Duquennoy 1957ecd94a exp5438: removed unused vairable 2015-10-20 10:10:18 +02:00
Simon Duquennoy c796ab418f exp5438: added missing include 2015-10-20 09:38:25 +02:00
Simon Duquennoy a2b1934f03 mbxxx: added missing undefs 2015-10-20 09:37:28 +02:00
Simon Duquennoy ccfdf80ff2 Removed mbxxx warning messages on the current ld file in use 2015-10-20 09:37:27 +02:00
Simon Duquennoy 2007863922 mbxxx: fix printf format 2015-10-20 09:37:26 +02:00
Simon Duquennoy fcd0302d02 mbxxx contiki-main.c: include uip-debug, as uip_debug_lladdr_print is used in main 2015-10-20 09:37:25 +02:00
Simon Duquennoy 16dd3af1e6 mbxxx temperature-sensor: remove unused variable 2015-10-20 09:37:24 +02:00
Simon Duquennoy 061c7d15c4 Powertrace: removed unused variables 2015-10-20 09:37:23 +02:00
Simon Duquennoy b7fb06052f cc2530: do not declare sfd_timestamp if not used 2015-10-20 09:37:22 +02:00