~ubuntu-branches/ubuntu/trusty/glibmm2.4/trusty

« back to all changes in this revision

Viewing changes to glib/glibmm/property.cc

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2012-09-28 12:28:45 UTC
  • mfrom: (1.2.77)
  • Revision ID: package-import@ubuntu.com-20120928122845-6h032jivploan2aa
Tags: 2.33.13-0ubuntu2
* debian/rules:
  - Bump shlib version

Show diffs side-by-side

added added

removed removed

Lines of Context:
82
82
  void *const base_ptr = dynamic_cast<void*>(&object);
83
83
  void *const prop_ptr = &property;
84
84
 
85
 
  const ptrdiff_t offset = static_cast<guint8*>(prop_ptr) - static_cast<guint8*>(base_ptr);
 
85
  const std::ptrdiff_t offset = static_cast<guint8*>(prop_ptr) - static_cast<guint8*>(base_ptr);
86
86
 
87
87
  g_return_val_if_fail(offset > 0 && offset < G_MAXINT, 0);
88
88