The "x" sscanf conversion specifier requires an unsigned int. It is
likely that this is actually a uint32_t, don't rely on that.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
wbcErr wbcStringToGuid(const char *str,
struct wbcGuid *guid)
{
- uint32_t time_low;
- uint32_t time_mid, time_hi_and_version;
- uint32_t clock_seq[2];
- uint32_t node[6];
+ unsigned int time_low;
+ unsigned int time_mid, time_hi_and_version;
+ unsigned int clock_seq[2];
+ unsigned int node[6];
int i;
wbcErr wbc_status = WBC_ERR_UNKNOWN_FAILURE;