Random whitespace/cosmetic fixes.

This commit is contained in:
Uwe Hermann 2018-02-20 19:34:55 +01:00
parent 1135f8d9c7
commit 405b9c10eb
5 changed files with 7 additions and 7 deletions

View File

@ -555,8 +555,8 @@ SR_API int sr_rational_mult(struct sr_rational *res, const struct sr_rational *a
return SR_ERR_ARG;
}
res->p = (int64_t)(p);
res->q = (uint64_t)(q);
res->p = (int64_t)p;
res->q = (uint64_t)q;
return SR_OK;

View File

@ -96,7 +96,7 @@ static GString *gen_header(const struct sr_output *o)
/* timestamp */
t = time(NULL);
timestamp = g_strdup(ctime(&t));
timestamp[strlen(timestamp)-1] = 0;
timestamp[strlen(timestamp) - 1] = 0;
g_string_printf(header, "$date %s $end\n", timestamp);
g_free(timestamp);