Selaa lähdekoodia

Fix warning related to missing-variable-declarations, add static to global variable.

Signed-off-by: Jackie9527 <[email protected]>
Jackie9527 2 vuotta sitten
vanhempi
commit
5738b3d172
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      code/AssetLib/Assjson/cencode.c

+ 1 - 1
code/AssetLib/Assjson/cencode.c

@@ -7,7 +7,7 @@ For details, see http://sourceforge.net/projects/libb64
 
 
 #include "cencode.h" // changed from <B64/cencode.h>
 #include "cencode.h" // changed from <B64/cencode.h>
 
 
-const int CHARS_PER_LINE = 72;
+static const int CHARS_PER_LINE = 72;
 
 
 #ifdef _MSC_VER
 #ifdef _MSC_VER
 #pragma warning(push)
 #pragma warning(push)