Bugfix
   * Fix IAR compiler warnings. Fixes #6924.
