Fix build errors from last change.
authorJørgen P. Tjernø <jorgen@valvesoftware.com>
Tue, 23 Jul 2013 17:40:16 -0700
changeset 7509 cf7c2e3493b2
parent 7508 1f64c6874619
child 7510 dbba26bab0f8
Fix build errors from last change.
src/events/SDL_gesture.c
src/render/SDL_render.c
--- a/src/events/SDL_gesture.c	Tue Jul 23 17:40:13 2013 -0700
+++ b/src/events/SDL_gesture.c	Tue Jul 23 17:40:16 2013 -0700
@@ -392,7 +392,7 @@
 static float dollarRecognize(const SDL_DollarPath *path,int *bestTempl,SDL_GestureTouch* touch)
 {
 
-    SDL_FloatPoint points[DOLLARNPOINTS] = {};
+    SDL_FloatPoint points[DOLLARNPOINTS] = {{0}};
     int i;
     float bestDiff = 10000;
 
--- a/src/render/SDL_render.c	Tue Jul 23 17:40:13 2013 -0700
+++ b/src/render/SDL_render.c	Tue Jul 23 17:40:16 2013 -0700
@@ -1467,7 +1467,7 @@
 int
 SDL_RenderFillRect(SDL_Renderer * renderer, const SDL_Rect * rect)
 {
-    SDL_Rect full_rect = {};
+    SDL_Rect full_rect = {0};
 
     CHECK_RENDERER_MAGIC(renderer, -1);