Skip to content

Commit 474edb5

Browse files
committed
Fix patch to work cross-platform with Git.
1 parent 95a7825 commit 474edb5

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed
Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,6 @@
1-
From 831806231dd360278dac2a37e3c3158420ad7bb3 Mon Sep 17 00:00:00 2001
2-
From: "google.com" <google.com>
3-
Date: Mon, 7 Jun 2021 13:57:27 -0400
4-
Subject: [PATCH] disable C4255 converting () to (void)
5-
6-
---
7-
src/CMakeLists.txt | 2 ++
8-
1 file changed, 2 insertions(+)
9-
10-
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
11-
index b7f468fe6..48f61bfd8 100644
121
--- a/src/CMakeLists.txt
132
+++ b/src/CMakeLists.txt
14-
@@ -193,7 +193,10 @@ elseif(MSVC)
3+
@@ -193,6 +193,10 @@ elseif(MSVC)
154
# possible loss of data
165
"C4244" # 'function' : conversion from 'int' to 'uint8_t',
176
# possible loss of data
@@ -22,6 +11,3 @@ index b7f468fe6..48f61bfd8 100644
2211
"C4267" # conversion from 'size_t' to 'int', possible loss of data
2312
"C4371" # layout of class may have changed from a previous version of the
2413
# compiler due to better packing of member '...'
25-
--
26-
2.32.0.rc1.229.g3e70b5a671-goog
27-

0 commit comments

Comments
 (0)