the_Foundation [release-1.2]

Fixed warnings (errors) about implicit conversion

=> a96302900002376ab103ab45a5c784439ecff699

diff --git a/src/stringarray.c b/src/stringarray.c
index 7cba68f..d25a82e 100644
--- a/src/stringarray.c
+++ b/src/stringarray.c
@@ -166,7 +166,7 @@ iString *joinCStr_StringArray(const iStringArray *d, const char *delim) {
 }
 
 void serialize_StringArray(const iStringArray *d, iStream *outs) {
-    writeU32_Stream(outs, size_StringArray(d));
+    writeU32_Stream(outs, (uint32_t) size_StringArray(d));
     iConstForEach(StringArray, i, d) {
         serialize_String(i.value, outs);
     }
diff --git a/src/stringlist.c b/src/stringlist.c
index 7ff86a6..70ae6ec 100644
--- a/src/stringlist.c
+++ b/src/stringlist.c
@@ -288,7 +288,7 @@ iString *joinCStr_StringList(const iStringList *d, const char *delim) {
 }
 
 void serialize_StringList(const iStringList *d, iStream *outs) {
-    writeU32_Stream(outs, size_StringList(d));
+    writeU32_Stream(outs, (uint32_t) size_StringList(d));
     iConstForEach(StringList, i, d) {
         serialize_String(i.value, outs);
     }
Proxy Information
Original URL
gemini://git.skyjake.fi/the_Foundation/release-1.2/cdiff/a96302900002376ab103ab45a5c784439ecff699
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
26.695144 milliseconds
Gemini-to-HTML Time
0.199476 milliseconds

This content has been proxied by September (ba2dc).