1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2025-01-27 00:58:36 +00:00

Complete 'Use unsigned int for p_max_size in obj_cb.print' even more

This commit is contained in:
Nikolas Garofil 2018-08-08 15:44:24 +02:00 committed by Brenden Matthews
parent 34848ef0b1
commit 95684a4fe4
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ int get_entropy_poolsize(const unsigned int *);
/* System Integrity Protection */
int get_sip_status(void);
void print_sip_status(struct text_object *obj, char *p, int p_max_size);
void print_sip_status(struct text_object *obj, char *p, unsigned int p_max_size);
void deallocate_cpu_sample(struct text_object *obj);

View File

@ -1332,7 +1332,7 @@ int get_sip_status() {
* Protection: ${sip_status 1} You should not write: "Allow Untrusted Kexts",
* this is wrong.
*/
void print_sip_status(struct text_object *obj, char *p, int p_max_size) {
void print_sip_status(struct text_object *obj, char *p, unsigned int p_max_size) {
if (csr_get_active_config ==
nullptr) /* check if weakly linked symbol exists */
{