commit | afc00a6377c9f008d250fe74b06153468b1c5a0b | [log] [tgz] |
---|---|---|
author | Brian Silverman <brians> | Mon Apr 21 17:51:23 2014 -0700 |
committer | Brian Silverman <brians> | Mon Apr 21 17:51:23 2014 -0700 |
tree | ce5c6b6696874936c66c2a3181824383120959fc | |
parent | f7986144f6184f5aaaa73a848b005480c2ff54ef [diff] [blame] |
let clang give more warnings (which pointed out a bug)
diff --git a/aos/linux_code/starter/starter.cc b/aos/linux_code/starter/starter.cc index 363ca46..114148f 100644 --- a/aos/linux_code/starter/starter.cc +++ b/aos/linux_code/starter/starter.cc
@@ -211,7 +211,7 @@ notifyevt = reinterpret_cast<inotify_event *>( __builtin_assume_aligned(reinterpret_cast<char *>(notifyevt) + sizeof(*notifyevt) + notifyevt->len, - alignof(notifyevt))); + alignof(inotify_event))); } }