patch-lib_object_c 468 B

123456789101112
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. --- libnl-1.1.orig/lib/object.c 2008-01-14 16:48:45.000000000 +0100
  3. +++ libnl-1.1/lib/object.c 2009-05-28 23:20:00.925639994 +0200
  4. @@ -96,7 +96,7 @@ struct nl_object *nl_object_clone(struct
  5. {
  6. struct nl_object *new;
  7. struct nl_object_ops *ops = obj_ops(obj);
  8. - int doff = offsetof(struct nl_derived_object, data);
  9. + int doff = __offsetof(struct nl_derived_object, data);
  10. int size;
  11. new = nl_object_alloc(ops);