Skip to content

Commit

Permalink
TSS: some minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
s0uthwest committed Dec 25, 2019
1 parent 0d2dd3d commit b9d193a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tsschecker/tss.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ uint64_t _plist_dict_get_uint(plist_t dict, const char *key)
} else if (strsz == 1) {
uintval = strval[0];
} else {
error("%s: ERROR: invalid size %d for data to integer conversion\n", __func__, strsz);
error("%s: ERROR: invalid size %llu for data to integer conversion\n", __func__, strsz);
}
free(strval);
}
Expand Down Expand Up @@ -209,7 +209,7 @@ uint8_t _plist_dict_get_bool(plist_t dict, const char *key)
if (strsz == 1) {
bval = strval[0];
} else {
error("%s: ERROR: invalid size %d for data to boolean conversion\n", __func__, strsz);
error("%s: ERROR: invalid size %llu for data to boolean conversion\n", __func__, strsz);
}
free(strval);
}
Expand Down
4 changes: 2 additions & 2 deletions tsschecker/tsschecker.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ typedef struct{

int parseHex(const char *nonce, size_t *parsedLen, char *ret, size_t *retSize);

char *getFirmwareJson();
char *getOtaJson();
char *getFirmwareJson(void);
char *getOtaJson(void);
long parseTokens(const char *json, jssytok_t **tokens);
char **getListOfiOSForDevice(jssytok_t *tokens, const char *device, int isOTA, int *versionCntt);
int printListOfDevices(jssytok_t *tokens);
Expand Down

0 comments on commit b9d193a

Please sign in to comment.