[PATCH] Compilation warning - int64

Matthias Dieter Wallnöfer mdw at samba.org
Sat Jan 9 15:03:07 UTC 2016

Hi Andrew,

I guess the Stack Overflow question addresses the observed issue.

These are the compiler warnings which I get:
> [1932/4007] Compiling source4/dsdb/samdb/ldb_modules/operational.c
> [2469/4007] Compiling source4/torture/ndr/samr.c
> ../source4/dsdb/samdb/ldb_modules/operational.c: In function 'get_msds_user_password_expiry_time_computed':
> ../source4/dsdb/samdb/ldb_modules/operational.c:718: warning: integer constant is too large for 'long' type
> ../source4/torture/ndr/samr.c: In function 'samr_changepassworduser3_w2k8r2_out_check':
> ../source4/torture/ndr/samr.c:297: warning: integer constant is too large for 'long' type

I re-attach my latest patch proposals.

I am just worried...if you think that it is no issue we may leave also
as it is.

Will see if I am able to resume a bit with SAMLDB.


Andrew Bartlett schrieb:
>> Matthias
> Can you show the warning you got and explain how this fits with:
> http://stackoverflow.com/questions/22852565/warning-integer-constant-is
> -too-large-for-long-type
> I don't see what the real-world problem is here, and in any case I
> can't see a patch attached (perhaps just my client however). 
> I do appreciate your work, but is there any chance you can concentrate
> on things like the great work you once did on samldb?  That kind 
> of fiddly AD semantics is where we really need help.
> Thanks,
> Andrew Bartlett
> -- 
> Andrew Bartlett
> https://samba.org/~abartlet/
> Authentication Developer, Samba Team         https://samba.org
> Samba Development and Support, Catalyst IT   
> https://catalyst.net.nz/services/samba

-------------- next part --------------
A non-text attachment was scrubbed...
Name: long.diff
Type: text/x-diff
Size: 2387 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160109/6df3148b/long.diff>

More information about the samba-technical mailing list