commit 077ecec4d951c4ea5b666a77a257c98348e7ef1f
parent c0d03df00f3ed1d1deb073b2ec2af177d79f33da
Author: Remy Noulin <loader2x@gmail.com>
Date: Tue, 23 Oct 2018 20:26:23 +0200
cast size_t i to u64 to make clang happy
emi.c | 2 +-
package.yml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/emi.c b/emi.c
@@ -107,7 +107,7 @@ int main(int ARGC, char** ARGV) {
iter(emList, E) {
cast(smallArrayt*, e, E);
if (eqG(getG(e, rtChar, 0), getG(spl, unusedV, i))) {
- setG(spl, i, strdup(getG(e, rtChar, 1)));
+ setG(spl, (u64)i, strdup(getG(e, rtChar, 1)));
found = true;
break;
}
diff --git a/package.yml b/package.yml
@@ -1,6 +1,6 @@
---
name: emi
- version: 0.0.1
+ version: 0.0.2
description: "emoji cli to convert short names to UTF8 code points"
bin: ./emi.c
#cflags: -DA -ggdb -std=gnu11 -fPIC -pipe