]> gitweb.factorcode.org Git - factor.git/blobdiff - vm/debug.cpp
xmode.marker: more correct faster update-match-group
[factor.git] / vm / debug.cpp
index da02aa5fadbf6bd8c1c9be76f0d13bc944fb5be9..4ffa5ac388947f6a9637a5c7ceedad4d04d90ebc 100644 (file)
@@ -267,7 +267,7 @@ void factor_vm::dump_memory(ostream& out, cell from, cell to) {
 
 void dump_memory_range(ostream& out, const char* name, cell name_w,
                        cell start, cell end) {
-  out << setw(name_w) << left << name << ": ";
+  out << setw(static_cast<int>(name_w)) << left << name << ": ";
 
   out << "[" << (void*)start << " -> " << (void*)end << "] ";
   out << setw(10) << right << (end - start) << " bytes" << endl;