summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2010-10-18 20:23:48 +0200
committerStephen Gallagher <sgallagh@redhat.com>2010-10-22 10:49:01 -0400
commit59216d82123688ae360757bf8c5eb77236555416 (patch)
treee0912a525054b6cac17ef74b07978ac13446391c /src/db/sysdb.h
parent8a46f4c638abbdc1dde41e0e5e9688bd19cd253a (diff)
downloadsssd2-59216d82123688ae360757bf8c5eb77236555416.tar.gz
sssd2-59216d82123688ae360757bf8c5eb77236555416.tar.xz
sssd2-59216d82123688ae360757bf8c5eb77236555416.zip
Use unsigned long for conversion to id_t
We used strtol() on a number of places to convert into uid_t or gid_t from a string representation such as LDAP attribute, but on some platforms, unsigned long might be necessary to store big id_t values. This patch converts to using strtoul() instead.
Diffstat (limited to 'src/db/sysdb.h')
0 files changed, 0 insertions, 0 deletions