Bug fixes
This commit is contained in:
parent
21d15e0d0a
commit
3bef2a97c0
1 changed files with 2 additions and 2 deletions
4
semver.c
4
semver.c
|
@ -142,12 +142,12 @@ int parseGitRev(char *vp, GitRevision *git) {
|
||||||
for (i = 0; i < 7; i++) {
|
for (i = 0; i < 7; i++) {
|
||||||
git->hash[i] = hash[i];
|
git->hash[i] = hash[i];
|
||||||
}
|
}
|
||||||
dateTimeFromTimestampParts(ts, 0, &git->dt);
|
dateTimeFromTimestampParts(&git->dt, ts, 0);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int parsePreRelease(PreRelease *pr, char *s) {
|
int parsePreRelease(PreRelease *pr, char *s) {
|
||||||
PreReleaseTag tag;
|
PreReleaseTag tag = PRNone;
|
||||||
long val = 0;
|
long val = 0;
|
||||||
char v[50];
|
char v[50];
|
||||||
char *vp = (char *)v;
|
char *vp = (char *)v;
|
||||||
|
|
Loading…
Add table
Reference in a new issue