Diff of /ilg.gnuarmeclipse.templates.stm/templates/micro-os-plus/stm32f1-stdperiph.pack/src/stm32f1-stdperiph/stm32f10x_flash.c [25056b] .. [1272ff] Maximize Restore

  Switch to side-by-side view

--- a/ilg.gnuarmeclipse.templates.stm/templates/micro-os-plus/stm32f1-stdperiph.pack/src/stm32f1-stdperiph/stm32f10x_flash.c
+++ b/ilg.gnuarmeclipse.templates.stm/templates/micro-os-plus/stm32f1-stdperiph.pack/src/stm32f1-stdperiph/stm32f10x_flash.c
@@ -670,6 +670,12 @@
   return status;
 }
 
+// [ILG]
+#if defined ( __GNUC__ )
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wconversion"
+#endif
+
 /**
   * @brief  Programs a word at a specified address.
   * @note   This function can be used for all STM32F10x devices.
@@ -857,6 +863,11 @@
   /* Return the Program Status */
   return status;
 }
+
+// [ILG]
+#if defined ( __GNUC__ )
+#pragma GCC diagnostic pop
+#endif
 
 /**
   * @brief  Programs a half word at a specified address.