16 lines
775 B
Diff
16 lines
775 B
Diff
From: Guido Trotter <ultrotter@debian.org>
|
|
Subject: Suppress gcc4 error (invalid lvalue in assignment)
|
|
|
|
diff -urNad --exclude=CVS --exclude=.svn ./src/plugins/ldap/commandline.c /tmp/dpep-work.42rcRj/cpu-1.4.3/src/plugins/ldap/commandline.c
|
|
--- ./src/plugins/ldap/commandline.c 2005-07-10 18:34:10.000000000 +0000
|
|
+++ /tmp/dpep-work.42rcRj/cpu-1.4.3/src/plugins/ldap/commandline.c 2005-07-10 18:34:59.000000000 +0000
|
|
@@ -83,7 +83,7 @@
|
|
if (passent == NULL)
|
|
return -1;
|
|
bzero (passent, sizeof (struct cpass));
|
|
- (int) passent->sp_lstchg = passent->sp_min = passent->sp_max = -10;
|
|
+ passent->sp_lstchg = passent->sp_min = passent->sp_max = -10;
|
|
passent->sp_warn = passent->sp_inact = passent->sp_expire = -10;
|
|
passent->sp_flag = -10;
|
|
passent->pw_gid = -10;
|