On some inequality of Hermite-Hadamard type