Fix undefined behavior

Bug: 26932980
Change-Id: Id526f47e02d2bc7eb55becc36acac0549c588e61
1 file changed