From d09b987b0f2e16ac3e84e81611e2f6b1cce63c84 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Thu, 16 Mar 2017 10:21:49 +0000
Subject: [PATCH] Fix in bbox_t coords from (float) to (unsigned int)

---
 src/utils.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/utils.h b/src/utils.h
index bbc6765..f569d77 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -4,6 +4,10 @@
 #include <time.h>
 #include "list.h"
 
+#if defined(_MSC_VER) && _MSC_VER < 1900
+	#define snprintf(buf,len, format,...) _snprintf_s(buf, len,len, format, __VA_ARGS__)
+#endif
+
 #define SECRET_NUM -1234
 #define TWO_PI 6.2831853071795864769252866
 

--
Gitblit v1.10.0