Advertisement
Guest User

Untitled

a guest
May 21st, 2014
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. index 847e584..fefa8c6 100644
  2. --- a/src/hal/hal_lib.c
  3. +++ b/src/hal/hal_lib.c
  4. @@ -882,10 +882,10 @@ int hal_signal_new(const char *name, hal_type_t type)
  5. data_addr = shmalloc_up(sizeof(hal_bit_t));
  6. break;
  7. case HAL_S32:
  8. - data_addr = shmalloc_up(sizeof(hal_u32_t));
  9. + data_addr = shmalloc_up(sizeof(hal_s32_t));
  10. break;
  11. case HAL_U32:
  12. - data_addr = shmalloc_up(sizeof(hal_s32_t));
  13. + data_addr = shmalloc_up(sizeof(hal_u32_t));
  14. break;
  15. case HAL_FLOAT:
  16. data_addr = shmalloc_up(sizeof(hal_float_t));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement