solstice

Compute collected power and efficiencies of a solar plant
git clone git://git.meso-star.com/solstice.git
Log | Files | Refs | README | LICENSE

commit dab7791ef56fe6a64556f32e5175c7704cb09ea9
parent f00870b36c313c10e88c489fd66b4b9c1cb89828
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date:   Mon,  6 Feb 2017 14:28:00 +0100

Fix Warning in printf.

Diffstat:
Msrc/solstice.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/solstice.c b/src/solstice.c @@ -190,7 +190,8 @@ setup_sun_dirs(struct solstice* solstice, const struct solstice_args* args) res = darray_double_resize(&solstice->sun_dirs, args->nsun_dirs*3/*#dims*/); if(res != RES_OK) { fprintf(stderr, - "Could not reserve the list of %lu sun directions.\n", args->nsun_dirs); + "Could not reserve the list of %lu sun directions.\n", + (unsigned long)args->nsun_dirs); goto error; }