]> git.vpit.fr Git - perl/modules/Variable-Magic.git/commitdiff
Add a missing volatile qualifier
authorVincent Pit <vince@profvince.com>
Tue, 31 Mar 2015 17:22:15 +0000 (14:22 -0300)
committerVincent Pit <vince@profvince.com>
Tue, 31 Mar 2015 17:22:31 +0000 (14:22 -0300)
Magic.xs

index 55ca968ca268011d3a0b25b78528e509f5091d2c..9a5a04f152334809b09ece05e18b4830fec68fd4 100644 (file)
--- a/Magic.xs
+++ b/Magic.xs
@@ -1742,7 +1742,7 @@ static I32 vmg_svt_val(pTHX_ IV action, SV *sv) {
 
 /* --- Global setup/teardown ----------------------------------------------- */
 
-static U32 vmg_initialized = 0;
+static VOL U32 vmg_initialized = 0;
 
 static void vmg_global_teardown_late(pTHX) {
 #define vmg_global_teardown_late() vmg_global_teardown_late(aTHX)