This is a follow up change. CPName_GetComponent returns -1 to report
an error thus it can't be assigned to a unsigned variable.
In the previous change most of the places where CPName_GetComponent was
assigned to a size_t variable were fixed however couple of places were missed.
Signed-off-by: Marcelo Vanzin <mvanzin@vmware.com>
const char *post = NULL;
size_t preLen = 0;
size_t postLen = 0;
- size_t len = 0;
+ int len = 0;
char *text = NULL;
size_t textLen = 1;
Bool blockAdded = FALSE;
const char *post;
size_t preLen;
size_t postLen;
- size_t len;
+ int len;
Bool insertSpace;
char *text = NULL;
size_t textLen = 1;