diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-06-02 21:26:48 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-06-02 21:26:48 +0200 |
commit | b99a632a158519295b8ccaa0afacdb60f2a1702e (patch) | |
tree | da221c90c9a77d31703fa5a558423561ca3eec05 /src/lib/eiotas_iota.c | |
parent | 94622c2f79b63229aa07f14ba926fdd7c4caae57 (diff) | |
download | edoors-b99a632a158519295b8ccaa0afacdb60f2a1702e.zip edoors-b99a632a158519295b8ccaa0afacdb60f2a1702e.tar.gz |
replace 1 with sizeof(char) when relevant
Diffstat (limited to 'src/lib/eiotas_iota.c')
-rw-r--r-- | src/lib/eiotas_iota.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eiotas_iota.c b/src/lib/eiotas_iota.c index 95f8504..d41a69d 100644 --- a/src/lib/eiotas_iota.c +++ b/src/lib/eiotas_iota.c @@ -45,7 +45,7 @@ int eiotas_iota_init(Eiotas_Iota *iota, const char *name, Eiotas_Iota *parent, E } memcpy(tmp,parent->path,lp); tmp[lp]='/'; - memcpy((tmp+lp+1),name,ln+1); + memcpy((tmp+lp+sizeof(char)),name,ln+sizeof(char)); iota->name = eina_stringshare_add(name); iota->path = eina_stringshare_add(tmp); } else { |