fix the bug in SRL module for low-version gcc (4.1.2)