Néron–Severi group of a general hypersurface