API: Refactor: Change the integer type of remote objects to uint64_t

This commit is contained in:
Thiago de Arruda
2014-05-23 15:49:42 -03:00
parent 1e67b13fdc
commit f70f9bfac1
5 changed files with 23 additions and 10 deletions

View File

@@ -19,7 +19,8 @@ Buffer window_get_buffer(Window window, Error *err)
return 0;
}
return win->w_buffer->b_fnum;
assert(win->w_buffer->b_fnum >= 0);
return (uint64_t)win->w_buffer->b_fnum;
}
Position window_get_cursor(Window window, Error *err)