From 75a25c5e60784ac4a87950e2b1c2b506f4d7b17b Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Thu, 29 Jun 2017 17:52:42 +0000
Subject: [PATCH] For the console-app that uses DLL changed: MT-Debug-DLL (/MDd) to MT-DLL (/MD)
---
src/parser.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/parser.c b/src/parser.c
index 87a6491..3f39a13 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -826,7 +826,7 @@
}
#endif
fprintf(stderr, "Saving weights to %s\n", filename);
- FILE *fp = fopen(filename, "w");
+ FILE *fp = fopen(filename, "wb");
if(!fp) file_error(filename);
int major = 0;
--
Gitblit v1.10.0