summaryrefslogblamecommitdiff
path: root/user/mimetic/fix-compile.patch
blob: 3bb93fa9a49c5c393b6b330b5891b8c386218141 (plain) (tree)



































                                                                                                    
diff -Nurd mimetic-0.9.8/test/cutee.cxx mimetic-0.9.8.new/test/cutee.cxx
--- mimetic-0.9.8/test/cutee.cxx	2014-06-17 03:12:00.000000000 -0500
+++ mimetic-0.9.8.new/test/cutee.cxx	2018-07-26 22:40:21.556153371 -0500
@@ -225,7 +225,7 @@
             _( "    run_" << *beg << "();" );
         _( "    tearDown();" );
         _( "  }" );
-        _( "  uint count() { return " << m_fnList.size() << "; }" );
+        _( "  unsigned int count() { return " << m_fnList.size() << "; }" );
         _( "};" );
         _("static struct "<<cn<<"_add_to_list: public cutee::TestList");
         _( "{" );
diff -Nurd mimetic-0.9.8/mimetic/codec/other_codecs.h mimetic-0.9.8.new/mimetic/codec/other_codecs.h
--- mimetic-0.9.8/mimetic/codec/other_codecs.h	2014-06-17 03:12:00.000000000 -0500
+++ mimetic-0.9.8.new/mimetic/codec/other_codecs.h	2018-07-26 23:46:34.806277724 -0500
@@ -109,7 +109,7 @@
     : m_max(0), m_written(0)
     {
     }
-    MaxLineLen(uint m)
+    MaxLineLen(unsigned int m)
     : m_max(m), m_written(0)
     {
     }
diff -Nurd mimetic-0.9.8/mimetic/contenttype.cxx mimetic-0.9.8.new/mimetic/contenttype.cxx
--- mimetic-0.9.8/mimetic/contenttype.cxx	2018-07-26 23:48:47.326281871 -0500
+++ mimetic-0.9.8.new/mimetic/contenttype.cxx	2018-07-26 23:49:58.686284105 -0500
@@ -35,7 +35,7 @@
         stringstream ss;
         srand(time(0));
         short tbSize = sizeof(tb)-1;
-        for(uint i=0; i < 48; ++i)
+        for(unsigned int i=0; i < 48; ++i)
         {
             unsigned int r = rand();
             ss << tb[r % tbSize];